Navs.spec.js.snap 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Navs.vue renders correctly 1`] = `
  3. <div>
  4. <ccard-stub>
  5. <ccardheader-stub>
  6. <cicon-stub
  7. name="cil-justify-center"
  8. />
  9. <strong>
  10. Bootstrap Navs
  11. </strong>
  12. <div
  13. class="card-header-actions"
  14. >
  15. <a
  16. class="card-header-action"
  17. href="https://coreui.io/vue/docs/components/nav"
  18. rel="noreferrer noopener"
  19. target="_blank"
  20. >
  21. <small
  22. class="text-muted"
  23. >
  24. docs
  25. </small>
  26. </a>
  27. </div>
  28. </ccardheader-stub>
  29. <ccardbody-stub>
  30. <cnav-stub>
  31. <cnavitem-stub
  32. active="true"
  33. activeclass="router-link-active"
  34. event="click"
  35. exactactiveclass="router-link-exact-active"
  36. routertag="a"
  37. target="_self"
  38. >
  39. Active
  40. </cnavitem-stub>
  41. <cnavitem-stub
  42. activeclass="router-link-active"
  43. event="click"
  44. exactactiveclass="router-link-exact-active"
  45. routertag="a"
  46. target="_self"
  47. title="Link"
  48. />
  49. <cnavitem-stub
  50. activeclass="router-link-active"
  51. event="click"
  52. exactactiveclass="router-link-exact-active"
  53. routertag="a"
  54. target="_self"
  55. >
  56. Another Link
  57. </cnavitem-stub>
  58. <cnavitem-stub
  59. activeclass="router-link-active"
  60. disabled="true"
  61. event="click"
  62. exactactiveclass="router-link-exact-active"
  63. routertag="a"
  64. target="_self"
  65. >
  66. Disabled
  67. </cnavitem-stub>
  68. </cnav-stub>
  69. </ccardbody-stub>
  70. </ccard-stub>
  71. <ccard-stub>
  72. <ccardheader-stub>
  73. <cicon-stub
  74. name="cil-justify-center"
  75. />
  76. <strong>
  77. Bootstrap Navs
  78. </strong>
  79. <small>
  80. icons
  81. </small>
  82. </ccardheader-stub>
  83. <ccardbody-stub>
  84. <cnav-stub
  85. variant="pills"
  86. >
  87. <cnavitem-stub
  88. active="true"
  89. activeclass="router-link-active"
  90. event="click"
  91. exactactiveclass="router-link-exact-active"
  92. routertag="a"
  93. target="_self"
  94. >
  95. <cicon-stub
  96. name="cil-basket"
  97. />
  98. </cnavitem-stub>
  99. <cnavitem-stub
  100. activeclass="router-link-active"
  101. event="click"
  102. exactactiveclass="router-link-exact-active"
  103. routertag="a"
  104. target="_self"
  105. >
  106. <cicon-stub
  107. name="cil-settings"
  108. />
  109. </cnavitem-stub>
  110. <cnavitem-stub
  111. activeclass="router-link-active"
  112. event="click"
  113. exactactiveclass="router-link-exact-active"
  114. routertag="a"
  115. target="_self"
  116. >
  117. <cicon-stub
  118. name="cil-bell"
  119. />
  120. </cnavitem-stub>
  121. <cnavitem-stub
  122. activeclass="router-link-active"
  123. disabled="true"
  124. event="click"
  125. exactactiveclass="router-link-exact-active"
  126. routertag="a"
  127. target="_self"
  128. >
  129. <cicon-stub
  130. name="cil-envelope-closed"
  131. />
  132. </cnavitem-stub>
  133. </cnav-stub>
  134. </ccardbody-stub>
  135. </ccard-stub>
  136. <ccard-stub>
  137. <ccardheader-stub>
  138. <cicon-stub
  139. name="cil-justify-center"
  140. />
  141. <strong>
  142. Bootstrap Navs
  143. </strong>
  144. <small>
  145. tab style
  146. </small>
  147. </ccardheader-stub>
  148. <ccardbody-stub>
  149. <cnav-stub
  150. variant="tabs"
  151. >
  152. <cnavitem-stub
  153. active="true"
  154. activeclass="router-link-active"
  155. event="click"
  156. exactactiveclass="router-link-exact-active"
  157. routertag="a"
  158. target="_self"
  159. >
  160. Active
  161. </cnavitem-stub>
  162. <cnavitem-stub
  163. activeclass="router-link-active"
  164. event="click"
  165. exactactiveclass="router-link-exact-active"
  166. routertag="a"
  167. target="_self"
  168. >
  169. Link
  170. </cnavitem-stub>
  171. <cnavitem-stub
  172. activeclass="router-link-active"
  173. event="click"
  174. exactactiveclass="router-link-exact-active"
  175. routertag="a"
  176. target="_self"
  177. >
  178. Another Link
  179. </cnavitem-stub>
  180. <cnavitem-stub
  181. activeclass="router-link-active"
  182. disabled="true"
  183. event="click"
  184. exactactiveclass="router-link-exact-active"
  185. routertag="a"
  186. target="_self"
  187. >
  188. Disabled
  189. </cnavitem-stub>
  190. </cnav-stub>
  191. </ccardbody-stub>
  192. </ccard-stub>
  193. <ccard-stub>
  194. <ccardheader-stub>
  195. <cicon-stub
  196. name="cil-justify-center"
  197. />
  198. <strong>
  199. Bootstrap Navs
  200. </strong>
  201. <small>
  202. pill style
  203. </small>
  204. </ccardheader-stub>
  205. <ccardbody-stub>
  206. <cnav-stub
  207. variant="pills"
  208. >
  209. <cnavitem-stub
  210. active="true"
  211. activeclass="router-link-active"
  212. event="click"
  213. exactactiveclass="router-link-exact-active"
  214. routertag="a"
  215. target="_self"
  216. >
  217. Active
  218. </cnavitem-stub>
  219. <cnavitem-stub
  220. activeclass="router-link-active"
  221. event="click"
  222. exactactiveclass="router-link-exact-active"
  223. routertag="a"
  224. target="_self"
  225. >
  226. Link
  227. </cnavitem-stub>
  228. <cnavitem-stub
  229. activeclass="router-link-active"
  230. event="click"
  231. exactactiveclass="router-link-exact-active"
  232. routertag="a"
  233. target="_self"
  234. >
  235. Another Link
  236. </cnavitem-stub>
  237. <cnavitem-stub
  238. activeclass="router-link-active"
  239. disabled="true"
  240. event="click"
  241. exactactiveclass="router-link-exact-active"
  242. routertag="a"
  243. target="_self"
  244. >
  245. Disabled
  246. </cnavitem-stub>
  247. </cnav-stub>
  248. </ccardbody-stub>
  249. </ccard-stub>
  250. <ccard-stub>
  251. <ccardheader-stub>
  252. <cicon-stub
  253. name="cil-justify-center"
  254. />
  255. <strong>
  256. Bootstrap Navs
  257. </strong>
  258. <small>
  259. fill tabs
  260. </small>
  261. </ccardheader-stub>
  262. <ccardbody-stub>
  263. <cnav-stub
  264. fill="true"
  265. variant="tabs"
  266. >
  267. <cnavitem-stub
  268. active="true"
  269. activeclass="router-link-active"
  270. event="click"
  271. exactactiveclass="router-link-exact-active"
  272. routertag="a"
  273. target="_self"
  274. >
  275. Active
  276. </cnavitem-stub>
  277. <cnavitem-stub
  278. activeclass="router-link-active"
  279. event="click"
  280. exactactiveclass="router-link-exact-active"
  281. routertag="a"
  282. target="_self"
  283. >
  284. Link
  285. </cnavitem-stub>
  286. <cnavitem-stub
  287. activeclass="router-link-active"
  288. event="click"
  289. exactactiveclass="router-link-exact-active"
  290. routertag="a"
  291. target="_self"
  292. >
  293. Link with a long name
  294. </cnavitem-stub>
  295. <cnavitem-stub
  296. activeclass="router-link-active"
  297. disabled="true"
  298. event="click"
  299. exactactiveclass="router-link-exact-active"
  300. routertag="a"
  301. target="_self"
  302. >
  303. Disabled
  304. </cnavitem-stub>
  305. </cnav-stub>
  306. </ccardbody-stub>
  307. </ccard-stub>
  308. <ccard-stub>
  309. <ccardheader-stub>
  310. <cicon-stub
  311. name="cil-justify-center"
  312. />
  313. <strong>
  314. Bootstrap Navs
  315. </strong>
  316. <small>
  317. justified tabs
  318. </small>
  319. </ccardheader-stub>
  320. <ccardbody-stub>
  321. <cnav-stub
  322. justified="true"
  323. variant="tabs"
  324. >
  325. <cnavitem-stub
  326. active="true"
  327. activeclass="router-link-active"
  328. event="click"
  329. exactactiveclass="router-link-exact-active"
  330. routertag="a"
  331. target="_self"
  332. >
  333. Active
  334. </cnavitem-stub>
  335. <cnavitem-stub
  336. activeclass="router-link-active"
  337. event="click"
  338. exactactiveclass="router-link-exact-active"
  339. routertag="a"
  340. target="_self"
  341. >
  342. Link
  343. </cnavitem-stub>
  344. <cnavitem-stub
  345. activeclass="router-link-active"
  346. event="click"
  347. exactactiveclass="router-link-exact-active"
  348. routertag="a"
  349. target="_self"
  350. >
  351. Link with a long name
  352. </cnavitem-stub>
  353. <cnavitem-stub
  354. activeclass="router-link-active"
  355. disabled="true"
  356. event="click"
  357. exactactiveclass="router-link-exact-active"
  358. routertag="a"
  359. target="_self"
  360. >
  361. Disabled
  362. </cnavitem-stub>
  363. </cnav-stub>
  364. </ccardbody-stub>
  365. </ccard-stub>
  366. <ccard-stub>
  367. <ccardheader-stub>
  368. <cicon-stub
  369. name="cil-justify-center"
  370. />
  371. <strong>
  372. Bootstrap Navs
  373. </strong>
  374. <small>
  375. dropdown support
  376. </small>
  377. </ccardheader-stub>
  378. <ccardbody-stub>
  379. <cnav-stub
  380. variant="pills"
  381. >
  382. <cnavitem-stub
  383. activeclass="router-link-active"
  384. event="click"
  385. exactactiveclass="router-link-exact-active"
  386. routertag="a"
  387. target="_self"
  388. >
  389. Active
  390. </cnavitem-stub>
  391. <cnavitem-stub
  392. activeclass="router-link-active"
  393. event="click"
  394. exactactiveclass="router-link-exact-active"
  395. routertag="a"
  396. target="_self"
  397. >
  398. Link
  399. </cnavitem-stub>
  400. <cdropdown-stub
  401. button-content="Dropdown"
  402. caret="true"
  403. flip="true"
  404. innav="true"
  405. offset="0,0"
  406. placement="bottom-end"
  407. togglertext="Dropdown"
  408. >
  409. <cdropdownitem-stub
  410. activeclass="router-link-active"
  411. event="click"
  412. exactactiveclass="router-link-exact-active"
  413. routertag="a"
  414. target="_self"
  415. >
  416. one
  417. </cdropdownitem-stub>
  418. <cdropdownitem-stub
  419. activeclass="router-link-active"
  420. event="click"
  421. exactactiveclass="router-link-exact-active"
  422. routertag="a"
  423. target="_self"
  424. >
  425. two
  426. </cdropdownitem-stub>
  427. <cdropdowndivider-stub
  428. tag="div"
  429. />
  430. <cdropdownitem-stub
  431. activeclass="router-link-active"
  432. event="click"
  433. exactactiveclass="router-link-exact-active"
  434. routertag="a"
  435. target="_self"
  436. >
  437. three
  438. </cdropdownitem-stub>
  439. </cdropdown-stub>
  440. </cnav-stub>
  441. </ccardbody-stub>
  442. </ccard-stub>
  443. <ccard-stub>
  444. <ccardheader-stub>
  445. <cicon-stub
  446. name="cil-justify-center"
  447. />
  448. <strong>
  449. Bootstrap Navs
  450. </strong>
  451. <small>
  452. vertical variation
  453. </small>
  454. </ccardheader-stub>
  455. <ccardbody-stub>
  456. <crow-stub
  457. gutters="true"
  458. tag="div"
  459. >
  460. <ccol-stub
  461. class="m-0"
  462. col="12"
  463. tag="div"
  464. >
  465. <cnav-stub
  466. pills=""
  467. vertical="lg"
  468. >
  469. <cnavitem-stub
  470. active="true"
  471. activeclass="router-link-active"
  472. event="click"
  473. exactactiveclass="router-link-exact-active"
  474. routertag="a"
  475. target="_self"
  476. >
  477. Active
  478. </cnavitem-stub>
  479. <cnavitem-stub
  480. activeclass="router-link-active"
  481. event="click"
  482. exactactiveclass="router-link-exact-active"
  483. routertag="a"
  484. target="_self"
  485. >
  486. Link
  487. </cnavitem-stub>
  488. <cnavitem-stub
  489. activeclass="router-link-active"
  490. event="click"
  491. exactactiveclass="router-link-exact-active"
  492. routertag="a"
  493. target="_self"
  494. >
  495. Another Link
  496. </cnavitem-stub>
  497. <cnavitem-stub
  498. activeclass="router-link-active"
  499. disabled="true"
  500. event="click"
  501. exactactiveclass="router-link-exact-active"
  502. routertag="a"
  503. target="_self"
  504. >
  505. Disabled
  506. </cnavitem-stub>
  507. </cnav-stub>
  508. </ccol-stub>
  509. </crow-stub>
  510. </ccardbody-stub>
  511. </ccard-stub>
  512. </div>
  513. `;