Navbars.spec.js.snap 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Navbars.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 Navbar
  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/navbar"
  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. <cnavbar-stub
  31. color="info"
  32. expandable="md"
  33. tag="nav"
  34. >
  35. <ctoggler-stub
  36. innavbar="true"
  37. tag="button"
  38. />
  39. <cnavbarbrand-stub
  40. activeclass="router-link-active"
  41. event="click"
  42. exactactiveclass="router-link-exact-active"
  43. href="#"
  44. routertag="a"
  45. tag="div"
  46. target="_self"
  47. >
  48. NavBar
  49. </cnavbarbrand-stub>
  50. <ccollapse-stub
  51. duration="400"
  52. navbar="true"
  53. transition="ease-in-out"
  54. >
  55. <cnavbarnav-stub
  56. tag="ul"
  57. >
  58. <cnavitem-stub
  59. activeclass="router-link-active"
  60. event="click"
  61. exactactiveclass="router-link-exact-active"
  62. href="#"
  63. routertag="a"
  64. target="_self"
  65. >
  66. Link
  67. </cnavitem-stub>
  68. <cnavitem-stub
  69. activeclass="router-link-active"
  70. disabled="true"
  71. event="click"
  72. exactactiveclass="router-link-exact-active"
  73. href="#"
  74. routertag="a"
  75. target="_self"
  76. >
  77. Disabled
  78. </cnavitem-stub>
  79. </cnavbarnav-stub>
  80. <cnavbarnav-stub
  81. class="ml-auto"
  82. tag="ul"
  83. >
  84. <cform-stub
  85. class="align-middle"
  86. inline="true"
  87. >
  88. <cinput-stub
  89. class="mr-2 my-0"
  90. lazy="400"
  91. placeholder="Search"
  92. size="sm"
  93. type="text"
  94. />
  95. <cbutton-stub
  96. activeclass="router-link-active"
  97. color="light"
  98. event="click"
  99. exactactiveclass="router-link-exact-active"
  100. routertag="a"
  101. size="sm"
  102. target="_self"
  103. type="button"
  104. >
  105. Search
  106. </cbutton-stub>
  107. </cform-stub>
  108. <cdropdown-stub
  109. caret="true"
  110. flip="true"
  111. innav="true"
  112. offset="0,0"
  113. placement="bottom-start"
  114. togglertext="Lang"
  115. >
  116. <cdropdownitem-stub
  117. activeclass="router-link-active"
  118. event="click"
  119. exactactiveclass="router-link-exact-active"
  120. routertag="a"
  121. target="_self"
  122. >
  123. EN
  124. </cdropdownitem-stub>
  125. <cdropdownitem-stub
  126. activeclass="router-link-active"
  127. event="click"
  128. exactactiveclass="router-link-exact-active"
  129. routertag="a"
  130. target="_self"
  131. >
  132. ES
  133. </cdropdownitem-stub>
  134. <cdropdownitem-stub
  135. activeclass="router-link-active"
  136. event="click"
  137. exactactiveclass="router-link-exact-active"
  138. routertag="a"
  139. target="_self"
  140. >
  141. RU
  142. </cdropdownitem-stub>
  143. <cdropdownitem-stub
  144. activeclass="router-link-active"
  145. event="click"
  146. exactactiveclass="router-link-exact-active"
  147. routertag="a"
  148. target="_self"
  149. >
  150. FA
  151. </cdropdownitem-stub>
  152. </cdropdown-stub>
  153. <cdropdown-stub
  154. caret="true"
  155. flip="true"
  156. innav="true"
  157. offset="0,0"
  158. placement="bottom-start"
  159. togglertext="User"
  160. >
  161. <cdropdownitem-stub
  162. activeclass="router-link-active"
  163. event="click"
  164. exactactiveclass="router-link-exact-active"
  165. routertag="a"
  166. target="_self"
  167. >
  168. Profile
  169. </cdropdownitem-stub>
  170. <cdropdownitem-stub
  171. activeclass="router-link-active"
  172. event="click"
  173. exactactiveclass="router-link-exact-active"
  174. routertag="a"
  175. target="_self"
  176. >
  177. Signout
  178. </cdropdownitem-stub>
  179. </cdropdown-stub>
  180. </cnavbarnav-stub>
  181. </ccollapse-stub>
  182. </cnavbar-stub>
  183. </ccardbody-stub>
  184. </ccard-stub>
  185. <ccard-stub>
  186. <ccardheader-stub>
  187. <cicon-stub
  188. name="cil-justify-center"
  189. />
  190. <strong>
  191. Navbar
  192. </strong>
  193. <small>
  194. brand
  195. </small>
  196. </ccardheader-stub>
  197. <ccardbody-stub>
  198. <cnavbar-stub
  199. color="faded"
  200. light="true"
  201. tag="nav"
  202. >
  203. <cnavbarbrand-stub
  204. activeclass="router-link-active"
  205. event="click"
  206. exactactiveclass="router-link-exact-active"
  207. href="#"
  208. routertag="a"
  209. tag="div"
  210. target="_self"
  211. >
  212. <img
  213. alt="CoreuiVue"
  214. class="d-inline-block align-top"
  215. src="https://placekitten.com/g/30/30"
  216. />
  217. CoreuiVue
  218. </cnavbarbrand-stub>
  219. </cnavbar-stub>
  220. </ccardbody-stub>
  221. </ccard-stub>
  222. <ccard-stub>
  223. <ccardheader-stub>
  224. <cicon-stub
  225. name="cil-justify-center"
  226. />
  227. <strong>
  228. Navbar
  229. </strong>
  230. <small>
  231. text
  232. </small>
  233. </ccardheader-stub>
  234. <ccardbody-stub>
  235. <cnavbar-stub
  236. color="light"
  237. light="true"
  238. tag="nav"
  239. toggleable="sm"
  240. >
  241. <ctoggler-stub
  242. innavbar="true"
  243. tag="button"
  244. />
  245. <cnavbarbrand-stub
  246. activeclass="router-link-active"
  247. event="click"
  248. exactactiveclass="router-link-exact-active"
  249. routertag="a"
  250. tag="div"
  251. target="_self"
  252. >
  253. CoreuiVue
  254. </cnavbarbrand-stub>
  255. <ccollapse-stub
  256. duration="400"
  257. navbar="true"
  258. transition="ease-in-out"
  259. >
  260. <cnavbarnav-stub
  261. tag="ul"
  262. >
  263. <cnavbartext-stub
  264. tag="div"
  265. >
  266. Navbar text
  267. </cnavbartext-stub>
  268. </cnavbarnav-stub>
  269. </ccollapse-stub>
  270. </cnavbar-stub>
  271. </ccardbody-stub>
  272. </ccard-stub>
  273. <ccard-stub>
  274. <ccardheader-stub>
  275. <cicon-stub
  276. name="cil-justify-center"
  277. />
  278. <strong>
  279. Navbar
  280. </strong>
  281. <small>
  282. dropdown
  283. </small>
  284. </ccardheader-stub>
  285. <ccardbody-stub>
  286. <cnavbar-stub
  287. color="primary"
  288. expandable="sm"
  289. tag="nav"
  290. >
  291. <ctoggler-stub
  292. innavbar="true"
  293. tag="button"
  294. />
  295. <ccollapse-stub
  296. duration="400"
  297. navbar="true"
  298. transition="ease-in-out"
  299. >
  300. <cnavbarnav-stub
  301. tag="ul"
  302. >
  303. <cnavitem-stub
  304. activeclass="router-link-active"
  305. event="click"
  306. exactactiveclass="router-link-exact-active"
  307. href="#"
  308. routertag="a"
  309. target="_self"
  310. >
  311. Home
  312. </cnavitem-stub>
  313. <cnavitem-stub
  314. activeclass="router-link-active"
  315. event="click"
  316. exactactiveclass="router-link-exact-active"
  317. href="#"
  318. routertag="a"
  319. target="_self"
  320. >
  321. Link
  322. </cnavitem-stub>
  323. <cdropdown-stub
  324. caret="true"
  325. flip="true"
  326. innav="true"
  327. offset="0,0"
  328. placement="bottom-start"
  329. togglertext="Lang"
  330. >
  331. <cdropdownitem-stub
  332. activeclass="router-link-active"
  333. event="click"
  334. exactactiveclass="router-link-exact-active"
  335. routertag="a"
  336. target="_self"
  337. >
  338. EN
  339. </cdropdownitem-stub>
  340. <cdropdownitem-stub
  341. activeclass="router-link-active"
  342. event="click"
  343. exactactiveclass="router-link-exact-active"
  344. routertag="a"
  345. target="_self"
  346. >
  347. ES
  348. </cdropdownitem-stub>
  349. <cdropdownitem-stub
  350. activeclass="router-link-active"
  351. event="click"
  352. exactactiveclass="router-link-exact-active"
  353. routertag="a"
  354. target="_self"
  355. >
  356. RU
  357. </cdropdownitem-stub>
  358. <cdropdownitem-stub
  359. activeclass="router-link-active"
  360. event="click"
  361. exactactiveclass="router-link-exact-active"
  362. routertag="a"
  363. target="_self"
  364. >
  365. FA
  366. </cdropdownitem-stub>
  367. </cdropdown-stub>
  368. <cdropdown-stub
  369. caret="true"
  370. flip="true"
  371. innav="true"
  372. offset="0,0"
  373. placement="bottom-start"
  374. togglertext="User"
  375. >
  376. <cdropdownitem-stub
  377. activeclass="router-link-active"
  378. event="click"
  379. exactactiveclass="router-link-exact-active"
  380. routertag="a"
  381. target="_self"
  382. >
  383. Account
  384. </cdropdownitem-stub>
  385. <cdropdownitem-stub
  386. activeclass="router-link-active"
  387. event="click"
  388. exactactiveclass="router-link-exact-active"
  389. routertag="a"
  390. target="_self"
  391. >
  392. Settings
  393. </cdropdownitem-stub>
  394. </cdropdown-stub>
  395. </cnavbarnav-stub>
  396. </ccollapse-stub>
  397. </cnavbar-stub>
  398. </ccardbody-stub>
  399. </ccard-stub>
  400. <ccard-stub>
  401. <ccardheader-stub>
  402. <cicon-stub
  403. name="cil-justify-center"
  404. />
  405. <strong>
  406. Navbar
  407. </strong>
  408. <small>
  409. form
  410. </small>
  411. </ccardheader-stub>
  412. <ccardbody-stub>
  413. <cnavbar-stub
  414. color="light"
  415. light="true"
  416. tag="nav"
  417. >
  418. <cform-stub
  419. inline="true"
  420. >
  421. <cinput-stub
  422. class="mr-sm-2"
  423. lazy="400"
  424. placeholder="Search"
  425. size="sm"
  426. type="text"
  427. />
  428. <cbutton-stub
  429. activeclass="router-link-active"
  430. class="my-2 my-sm-0"
  431. color="outline-success"
  432. event="click"
  433. exactactiveclass="router-link-exact-active"
  434. routertag="a"
  435. target="_self"
  436. type="submit"
  437. >
  438. Search
  439. </cbutton-stub>
  440. </cform-stub>
  441. </cnavbar-stub>
  442. </ccardbody-stub>
  443. </ccard-stub>
  444. <ccard-stub>
  445. <ccardheader-stub>
  446. <cicon-stub
  447. name="cil-justify-center"
  448. />
  449. <strong>
  450. Navbar
  451. </strong>
  452. <small>
  453. input group
  454. </small>
  455. </ccardheader-stub>
  456. <ccardbody-stub>
  457. <cnavbar-stub
  458. color="light"
  459. light="true"
  460. tag="nav"
  461. >
  462. <cform-stub
  463. inline="true"
  464. >
  465. <cinput-stub
  466. class="mr-sm-2"
  467. lazy="400"
  468. placeholder="Username"
  469. type="text"
  470. />
  471. </cform-stub>
  472. </cnavbar-stub>
  473. </ccardbody-stub>
  474. </ccard-stub>
  475. </div>
  476. `;