Dashboard.spec.js.snap 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Dashboard.vue renders correctly 1`] = `
  3. <div>
  4. <widgetsdropdown-stub />
  5. <ccard-stub>
  6. <ccardbody-stub>
  7. <crow-stub
  8. gutters="true"
  9. tag="div"
  10. >
  11. <ccol-stub
  12. sm="5"
  13. tag="div"
  14. >
  15. <h4
  16. class="card-title mb-0"
  17. id="traffic"
  18. >
  19. Traffic
  20. </h4>
  21. <div
  22. class="small text-muted"
  23. >
  24. November 2017
  25. </div>
  26. </ccol-stub>
  27. <ccol-stub
  28. class="d-none d-md-block"
  29. sm="7"
  30. tag="div"
  31. >
  32. <cbutton-stub
  33. activeclass="router-link-active"
  34. class="float-right"
  35. color="primary"
  36. event="click"
  37. exactactiveclass="router-link-exact-active"
  38. routertag="a"
  39. target="_self"
  40. type="button"
  41. >
  42. <cicon-stub
  43. name="cil-cloud-download"
  44. />
  45. </cbutton-stub>
  46. <cbuttongroup-stub
  47. class="float-right mr-3"
  48. >
  49. <cbutton-stub
  50. activeclass="router-link-active"
  51. class="mx-0"
  52. color="outline-secondary"
  53. event="click"
  54. exactactiveclass="router-link-exact-active"
  55. routertag="a"
  56. target="_self"
  57. type="button"
  58. >
  59. Day
  60. </cbutton-stub>
  61. <cbutton-stub
  62. activeclass="router-link-active"
  63. class="mx-0"
  64. color="outline-secondary"
  65. event="click"
  66. exactactiveclass="router-link-exact-active"
  67. pressed="true"
  68. routertag="a"
  69. target="_self"
  70. type="button"
  71. >
  72. Month
  73. </cbutton-stub>
  74. <cbutton-stub
  75. activeclass="router-link-active"
  76. class="mx-0"
  77. color="outline-secondary"
  78. event="click"
  79. exactactiveclass="router-link-exact-active"
  80. routertag="a"
  81. target="_self"
  82. type="button"
  83. >
  84. Year
  85. </cbutton-stub>
  86. </cbuttongroup-stub>
  87. </ccol-stub>
  88. </crow-stub>
  89. <mainchartexample-stub
  90. style="height: 300px; margin-top: 40px;"
  91. />
  92. </ccardbody-stub>
  93. <ccardfooter-stub>
  94. <crow-stub
  95. class="text-center"
  96. gutters="true"
  97. tag="div"
  98. >
  99. <ccol-stub
  100. class="mb-sm-2 mb-0"
  101. md="true"
  102. sm="12"
  103. tag="div"
  104. >
  105. <div
  106. class="text-muted"
  107. >
  108. Visits
  109. </div>
  110. <strong>
  111. 29.703 Users (40%)
  112. </strong>
  113. <cprogress-stub
  114. class="progress-xs mt-2"
  115. color="success"
  116. max="100"
  117. precision="1"
  118. value="40"
  119. />
  120. </ccol-stub>
  121. <ccol-stub
  122. class="mb-sm-2 mb-0 d-md-down-none"
  123. md="true"
  124. sm="12"
  125. tag="div"
  126. >
  127. <div
  128. class="text-muted"
  129. >
  130. Unique
  131. </div>
  132. <strong>
  133. 24.093 Users (20%)
  134. </strong>
  135. <cprogress-stub
  136. class="progress-xs mt-2"
  137. color="info"
  138. max="100"
  139. precision="1"
  140. value="20"
  141. />
  142. </ccol-stub>
  143. <ccol-stub
  144. class="mb-sm-2 mb-0"
  145. md="true"
  146. sm="12"
  147. tag="div"
  148. >
  149. <div
  150. class="text-muted"
  151. >
  152. Pageviews
  153. </div>
  154. <strong>
  155. 78.706 Views (60%)
  156. </strong>
  157. <cprogress-stub
  158. class="progress-xs mt-2"
  159. color="warning"
  160. max="100"
  161. precision="1"
  162. value="60"
  163. />
  164. </ccol-stub>
  165. <ccol-stub
  166. class="mb-sm-2 mb-0"
  167. md="true"
  168. sm="12"
  169. tag="div"
  170. >
  171. <div
  172. class="text-muted"
  173. >
  174. New Users
  175. </div>
  176. <strong>
  177. 22.123 Users (80%)
  178. </strong>
  179. <cprogress-stub
  180. class="progress-xs mt-2"
  181. color="danger"
  182. max="100"
  183. precision="1"
  184. value="80"
  185. />
  186. </ccol-stub>
  187. <ccol-stub
  188. class="mb-sm-2 mb-0 d-md-down-none"
  189. md="true"
  190. sm="12"
  191. tag="div"
  192. >
  193. <div
  194. class="text-muted"
  195. >
  196. Bounce Rate
  197. </div>
  198. <strong>
  199. Average Rate (40.15%)
  200. </strong>
  201. <cprogress-stub
  202. class="progress-xs mt-2"
  203. max="100"
  204. precision="1"
  205. value="40"
  206. />
  207. </ccol-stub>
  208. </crow-stub>
  209. </ccardfooter-stub>
  210. </ccard-stub>
  211. <widgetsbrand-stub />
  212. <crow-stub
  213. gutters="true"
  214. tag="div"
  215. >
  216. <ccol-stub
  217. md="12"
  218. tag="div"
  219. >
  220. <ccard-stub>
  221. <ccardheader-stub>
  222. Traffic & Sales
  223. </ccardheader-stub>
  224. <ccardbody-stub>
  225. <crow-stub
  226. gutters="true"
  227. tag="div"
  228. >
  229. <ccol-stub
  230. lg="6"
  231. sm="12"
  232. tag="div"
  233. >
  234. <crow-stub
  235. gutters="true"
  236. tag="div"
  237. >
  238. <ccol-stub
  239. sm="6"
  240. tag="div"
  241. >
  242. <ccallout-stub
  243. color="info"
  244. >
  245. <small
  246. class="text-muted"
  247. >
  248. New Clients
  249. </small>
  250. <br />
  251. <strong
  252. class="h4"
  253. >
  254. 9,123
  255. </strong>
  256. </ccallout-stub>
  257. </ccol-stub>
  258. <ccol-stub
  259. sm="6"
  260. tag="div"
  261. >
  262. <ccallout-stub
  263. color="danger"
  264. >
  265. <small
  266. class="text-muted"
  267. >
  268. Recurring Clients
  269. </small>
  270. <br />
  271. <strong
  272. class="h4"
  273. >
  274. 22,643
  275. </strong>
  276. </ccallout-stub>
  277. </ccol-stub>
  278. </crow-stub>
  279. <hr
  280. class="mt-0"
  281. />
  282. <div
  283. class="progress-group mb-4"
  284. >
  285. <div
  286. class="progress-group-prepend"
  287. >
  288. <span
  289. class="progress-group-text"
  290. >
  291. Monday
  292. </span>
  293. </div>
  294. <div
  295. class="progress-group-bars"
  296. >
  297. <cprogress-stub
  298. class="progress-xs"
  299. color="info"
  300. max="100"
  301. precision="0"
  302. value="34"
  303. />
  304. <cprogress-stub
  305. class="progress-xs"
  306. color="danger"
  307. max="100"
  308. precision="0"
  309. value="78"
  310. />
  311. </div>
  312. </div>
  313. <div
  314. class="progress-group mb-4"
  315. >
  316. <div
  317. class="progress-group-prepend"
  318. >
  319. <span
  320. class="progress-group-text"
  321. >
  322. Tuesday
  323. </span>
  324. </div>
  325. <div
  326. class="progress-group-bars"
  327. >
  328. <cprogress-stub
  329. class="progress-xs"
  330. color="info"
  331. max="100"
  332. precision="0"
  333. value="56"
  334. />
  335. <cprogress-stub
  336. class="progress-xs"
  337. color="danger"
  338. max="100"
  339. precision="0"
  340. value="94"
  341. />
  342. </div>
  343. </div>
  344. <div
  345. class="progress-group mb-4"
  346. >
  347. <div
  348. class="progress-group-prepend"
  349. >
  350. <span
  351. class="progress-group-text"
  352. >
  353. Wednesday
  354. </span>
  355. </div>
  356. <div
  357. class="progress-group-bars"
  358. >
  359. <cprogress-stub
  360. class="progress-xs"
  361. color="info"
  362. max="100"
  363. precision="0"
  364. value="12"
  365. />
  366. <cprogress-stub
  367. class="progress-xs"
  368. color="danger"
  369. max="100"
  370. precision="0"
  371. value="67"
  372. />
  373. </div>
  374. </div>
  375. <div
  376. class="progress-group mb-4"
  377. >
  378. <div
  379. class="progress-group-prepend"
  380. >
  381. <span
  382. class="progress-group-text"
  383. >
  384. Thursday
  385. </span>
  386. </div>
  387. <div
  388. class="progress-group-bars"
  389. >
  390. <cprogress-stub
  391. class="progress-xs"
  392. color="info"
  393. max="100"
  394. precision="0"
  395. value="43"
  396. />
  397. <cprogress-stub
  398. class="progress-xs"
  399. color="danger"
  400. max="100"
  401. precision="0"
  402. value="91"
  403. />
  404. </div>
  405. </div>
  406. <div
  407. class="progress-group mb-4"
  408. >
  409. <div
  410. class="progress-group-prepend"
  411. >
  412. <span
  413. class="progress-group-text"
  414. >
  415. Friday
  416. </span>
  417. </div>
  418. <div
  419. class="progress-group-bars"
  420. >
  421. <cprogress-stub
  422. class="progress-xs"
  423. color="info"
  424. max="100"
  425. precision="0"
  426. value="22"
  427. />
  428. <cprogress-stub
  429. class="progress-xs"
  430. color="danger"
  431. max="100"
  432. precision="0"
  433. value="73"
  434. />
  435. </div>
  436. </div>
  437. <div
  438. class="progress-group mb-4"
  439. >
  440. <div
  441. class="progress-group-prepend"
  442. >
  443. <span
  444. class="progress-group-text"
  445. >
  446. Saturday
  447. </span>
  448. </div>
  449. <div
  450. class="progress-group-bars"
  451. >
  452. <cprogress-stub
  453. class="progress-xs"
  454. color="info"
  455. max="100"
  456. precision="0"
  457. value="53"
  458. />
  459. <cprogress-stub
  460. class="progress-xs"
  461. color="danger"
  462. max="100"
  463. precision="0"
  464. value="82"
  465. />
  466. </div>
  467. </div>
  468. <div
  469. class="progress-group mb-4"
  470. >
  471. <div
  472. class="progress-group-prepend"
  473. >
  474. <span
  475. class="progress-group-text"
  476. >
  477. Sunday
  478. </span>
  479. </div>
  480. <div
  481. class="progress-group-bars"
  482. >
  483. <cprogress-stub
  484. class="progress-xs"
  485. color="info"
  486. max="100"
  487. precision="0"
  488. value="9"
  489. />
  490. <cprogress-stub
  491. class="progress-xs"
  492. color="danger"
  493. max="100"
  494. precision="0"
  495. value="69"
  496. />
  497. </div>
  498. </div>
  499. <div
  500. class="legend text-center"
  501. >
  502. <small>
  503. <sup>
  504. <cbadge-stub
  505. activeclass="router-link-active"
  506. color="info"
  507. event="click"
  508. exactactiveclass="router-link-exact-active"
  509. routertag="a"
  510. shape="pill"
  511. tag="span"
  512. target="_self"
  513. >
  514.  
  515. </cbadge-stub>
  516. </sup>
  517. New clients
  518.   
  519. <sup>
  520. <cbadge-stub
  521. activeclass="router-link-active"
  522. color="danger"
  523. event="click"
  524. exactactiveclass="router-link-exact-active"
  525. routertag="a"
  526. shape="pill"
  527. tag="span"
  528. target="_self"
  529. >
  530.  
  531. </cbadge-stub>
  532. </sup>
  533. Recurring clients
  534. </small>
  535. </div>
  536. </ccol-stub>
  537. <ccol-stub
  538. lg="6"
  539. sm="12"
  540. tag="div"
  541. >
  542. <crow-stub
  543. gutters="true"
  544. tag="div"
  545. >
  546. <ccol-stub
  547. sm="6"
  548. tag="div"
  549. >
  550. <ccallout-stub
  551. color="warning"
  552. >
  553. <small
  554. class="text-muted"
  555. >
  556. Pageviews
  557. </small>
  558. <br />
  559. <strong
  560. class="h4"
  561. >
  562. 78,623
  563. </strong>
  564. </ccallout-stub>
  565. </ccol-stub>
  566. <ccol-stub
  567. sm="6"
  568. tag="div"
  569. >
  570. <ccallout-stub
  571. color="success"
  572. >
  573. <small
  574. class="text-muted"
  575. >
  576. Organic
  577. </small>
  578. <br />
  579. <strong
  580. class="h4"
  581. >
  582. 49,123
  583. </strong>
  584. </ccallout-stub>
  585. </ccol-stub>
  586. </crow-stub>
  587. <hr
  588. class="mt-0"
  589. />
  590. <ul
  591. class="horizontal-bars type-2"
  592. >
  593. <div
  594. class="progress-group"
  595. >
  596. <div
  597. class="progress-group-header"
  598. >
  599. <cicon-stub
  600. class="progress-group-icon"
  601. name="cil-user"
  602. />
  603. <span
  604. class="title"
  605. >
  606. Male
  607. </span>
  608. <span
  609. class="ml-auto font-weight-bold"
  610. >
  611. 43%
  612. </span>
  613. </div>
  614. <div
  615. class="progress-group-bars"
  616. >
  617. <cprogress-stub
  618. class="progress-xs"
  619. color="warning"
  620. max="100"
  621. precision="0"
  622. value="43"
  623. />
  624. </div>
  625. </div>
  626. <div
  627. class="progress-group mb-5"
  628. >
  629. <div
  630. class="progress-group-header"
  631. >
  632. <cicon-stub
  633. class="progress-group-icon"
  634. name="cil-user-female"
  635. />
  636. <span
  637. class="title"
  638. >
  639. Female
  640. </span>
  641. <span
  642. class="ml-auto font-weight-bold"
  643. >
  644. 37%
  645. </span>
  646. </div>
  647. <div
  648. class="progress-group-bars"
  649. >
  650. <cprogress-stub
  651. class="progress-xs"
  652. color="warning"
  653. max="100"
  654. precision="0"
  655. value="37"
  656. />
  657. </div>
  658. </div>
  659. <div
  660. class="progress-group"
  661. >
  662. <div
  663. class="progress-group-header"
  664. >
  665. <cicon-stub
  666. class="progress-group-icon"
  667. name="cil-globe-alt"
  668. />
  669. <span
  670. class="title"
  671. >
  672. Organic Search
  673. </span>
  674. <span
  675. class="ml-auto font-weight-bold"
  676. >
  677. 191,235
  678. <span
  679. class="text-muted small"
  680. >
  681. (56%)
  682. </span>
  683. </span>
  684. </div>
  685. <div
  686. class="progress-group-bars"
  687. >
  688. <cprogress-stub
  689. class="progress-xs"
  690. color="success"
  691. max="100"
  692. precision="0"
  693. value="56"
  694. />
  695. </div>
  696. </div>
  697. <div
  698. class="progress-group"
  699. >
  700. <div
  701. class="progress-group-header"
  702. >
  703. <cicon-stub
  704. class="progress-group-icon"
  705. height="17"
  706. name="cib-facebook"
  707. />
  708. <span
  709. class="title"
  710. >
  711. Facebook
  712. </span>
  713. <span
  714. class="ml-auto font-weight-bold"
  715. >
  716. 51,223
  717. <span
  718. class="text-muted small"
  719. >
  720. (15%)
  721. </span>
  722. </span>
  723. </div>
  724. <div
  725. class="progress-group-bars"
  726. >
  727. <cprogress-stub
  728. class="progress-xs"
  729. color="success"
  730. max="100"
  731. precision="0"
  732. value="15"
  733. />
  734. </div>
  735. </div>
  736. <div
  737. class="progress-group"
  738. >
  739. <div
  740. class="progress-group-header"
  741. >
  742. <cicon-stub
  743. class="progress-group-icon"
  744. height="17"
  745. name="cib-twitter"
  746. />
  747. <span
  748. class="title"
  749. >
  750. Twitter
  751. </span>
  752. <span
  753. class="ml-auto font-weight-bold"
  754. >
  755. 37,564
  756. <span
  757. class="text-muted small"
  758. >
  759. (11%)
  760. </span>
  761. </span>
  762. </div>
  763. <div
  764. class="progress-group-bars"
  765. >
  766. <cprogress-stub
  767. class="progress-xs"
  768. color="success"
  769. max="100"
  770. precision="0"
  771. value="11"
  772. />
  773. </div>
  774. </div>
  775. <div
  776. class="progress-group"
  777. >
  778. <div
  779. class="progress-group-header"
  780. >
  781. <cicon-stub
  782. class="progress-group-icon"
  783. height="17"
  784. name="cib-linkedin"
  785. />
  786. <span
  787. class="title"
  788. >
  789. LinkedIn
  790. </span>
  791. <span
  792. class="ml-auto font-weight-bold"
  793. >
  794. 27,319
  795. <span
  796. class="text-muted small"
  797. >
  798.  (8%)
  799. </span>
  800. </span>
  801. </div>
  802. <div
  803. class="progress-group-bars"
  804. >
  805. <cprogress-stub
  806. class="progress-xs"
  807. color="success"
  808. max="100"
  809. precision="0"
  810. value="8"
  811. />
  812. </div>
  813. </div>
  814. <div
  815. class="divider text-center"
  816. >
  817. <cbutton-stub
  818. activeclass="router-link-active"
  819. class="text-muted"
  820. color="link"
  821. event="click"
  822. exactactiveclass="router-link-exact-active"
  823. routertag="a"
  824. size="sm"
  825. target="_self"
  826. type="button"
  827. >
  828. <cicon-stub
  829. name="cil-options"
  830. />
  831. </cbutton-stub>
  832. </div>
  833. </ul>
  834. </ccol-stub>
  835. </crow-stub>
  836. <br />
  837. <cdatatable-stub
  838. class="mb-0 table-outline"
  839. fields="[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"
  840. head-color="light"
  841. header="true"
  842. hover="true"
  843. items="[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"
  844. itemsperpage="10"
  845. no-sorting=""
  846. responsive="true"
  847. sortervalue="[object Object]"
  848. />
  849. </ccardbody-stub>
  850. </ccard-stub>
  851. </ccol-stub>
  852. </crow-stub>
  853. </div>
  854. `;