Switches.spec.js.snap 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Switches.vue renders correctly 1`] = `
  3. <div>
  4. <crow-stub
  5. gutters="true"
  6. tag="div"
  7. >
  8. <ccol-stub
  9. md="6"
  10. tag="div"
  11. xs="12"
  12. >
  13. <ccard-stub>
  14. <ccardheader-stub>
  15. Radio switches
  16. <cbadge-stub
  17. activeclass="router-link-active"
  18. class="mr-auto"
  19. color="warning"
  20. event="click"
  21. exactactiveclass="router-link-exact-active"
  22. routertag="a"
  23. tag="span"
  24. target="_self"
  25. >
  26. warning
  27. </cbadge-stub>
  28. <div
  29. class="card-header-actions"
  30. >
  31. <a
  32. class="card-header-action"
  33. href="https://coreui.io/vue/docs/components/switch"
  34. rel="noreferrer noopener"
  35. target="_blank"
  36. >
  37. <small
  38. class="text-muted"
  39. >
  40. docs
  41. </small>
  42. </a>
  43. </div>
  44. </ccardheader-stub>
  45. <ccardbody-stub>
  46. <cswitch-stub
  47. class="mx-1"
  48. color="primary"
  49. labeloff="✕"
  50. labelon="✓"
  51. name="radio"
  52. type="radio"
  53. value="primary"
  54. variant="3d"
  55. />
  56. <cswitch-stub
  57. class="mx-1"
  58. color="secondary"
  59. labeloff="✕"
  60. labelon="✓"
  61. name="radio"
  62. type="radio"
  63. value="secondary"
  64. variant="3d"
  65. />
  66. <cswitch-stub
  67. checked="true"
  68. class="mx-1"
  69. color="warning"
  70. labeloff="✕"
  71. labelon="✓"
  72. name="radio"
  73. type="radio"
  74. value="warning"
  75. variant="3d"
  76. />
  77. <cswitch-stub
  78. class="mx-1"
  79. color="success"
  80. labeloff="✕"
  81. labelon="✓"
  82. name="radio"
  83. type="radio"
  84. value="success"
  85. variant="3d"
  86. />
  87. <cswitch-stub
  88. class="mx-1"
  89. color="info"
  90. labeloff="✕"
  91. labelon="✓"
  92. name="radio"
  93. type="radio"
  94. value="info"
  95. variant="3d"
  96. />
  97. <cswitch-stub
  98. class="mx-1"
  99. color="danger"
  100. labeloff="✕"
  101. labelon="✓"
  102. name="radio"
  103. type="radio"
  104. value="danger"
  105. variant="3d"
  106. />
  107. <cswitch-stub
  108. class="mx-1"
  109. color="light"
  110. labeloff="✕"
  111. labelon="✓"
  112. name="radio"
  113. type="radio"
  114. value="light"
  115. variant="3d"
  116. />
  117. <cswitch-stub
  118. class="mx-1"
  119. color="dark"
  120. labeloff="✕"
  121. labelon="✓"
  122. name="radio"
  123. type="radio"
  124. value="dark"
  125. variant="3d"
  126. />
  127. </ccardbody-stub>
  128. </ccard-stub>
  129. </ccol-stub>
  130. </crow-stub>
  131. <crow-stub
  132. gutters="true"
  133. tag="div"
  134. >
  135. <ccol-stub
  136. md="6"
  137. tag="div"
  138. xs="12"
  139. >
  140. <ccard-stub>
  141. <ccardheader-stub>
  142. Switch default
  143. <cbadge-stub
  144. activeclass="router-link-active"
  145. color="primary"
  146. event="click"
  147. exactactiveclass="router-link-exact-active"
  148. routertag="a"
  149. tag="span"
  150. target="_self"
  151. >
  152. true
  153. </cbadge-stub>
  154. </ccardheader-stub>
  155. <ccardbody-stub>
  156. <cswitch-stub
  157. checked="true"
  158. class="mx-1"
  159. color="primary"
  160. name="switch1"
  161. type="checkbox"
  162. />
  163. <cswitch-stub
  164. checked="true"
  165. class="mx-1"
  166. color="secondary"
  167. type="checkbox"
  168. />
  169. <cswitch-stub
  170. checked="true"
  171. class="mx-1"
  172. color="success"
  173. type="checkbox"
  174. />
  175. <cswitch-stub
  176. checked="true"
  177. class="mx-1"
  178. color="warning"
  179. type="checkbox"
  180. />
  181. <cswitch-stub
  182. checked="true"
  183. class="mx-1"
  184. color="info"
  185. type="checkbox"
  186. />
  187. <cswitch-stub
  188. checked="true"
  189. class="mx-1"
  190. color="danger"
  191. type="checkbox"
  192. />
  193. <cswitch-stub
  194. checked="true"
  195. class="mx-1"
  196. color="light"
  197. type="checkbox"
  198. />
  199. <cswitch-stub
  200. checked="true"
  201. class="mx-1"
  202. color="dark"
  203. type="checkbox"
  204. />
  205. <cswitch-stub
  206. class="mx-1"
  207. color="primary"
  208. disabled=""
  209. type="checkbox"
  210. />
  211. </ccardbody-stub>
  212. </ccard-stub>
  213. </ccol-stub>
  214. <ccol-stub
  215. md="6"
  216. tag="div"
  217. xs="12"
  218. >
  219. <ccard-stub>
  220. <ccardheader-stub>
  221. Switch pills
  222. </ccardheader-stub>
  223. <ccardbody-stub>
  224. <cswitch-stub
  225. checked="true"
  226. class="mx-1"
  227. color="primary"
  228. shape="pill"
  229. type="checkbox"
  230. />
  231. <cswitch-stub
  232. checked="true"
  233. class="mx-1"
  234. color="secondary"
  235. shape="pill"
  236. type="checkbox"
  237. />
  238. <cswitch-stub
  239. checked="true"
  240. class="mx-1"
  241. color="success"
  242. shape="pill"
  243. type="checkbox"
  244. />
  245. <cswitch-stub
  246. checked="true"
  247. class="mx-1"
  248. color="warning"
  249. shape="pill"
  250. type="checkbox"
  251. />
  252. <cswitch-stub
  253. checked="true"
  254. class="mx-1"
  255. color="info"
  256. shape="pill"
  257. type="checkbox"
  258. />
  259. <cswitch-stub
  260. checked="true"
  261. class="mx-1"
  262. color="danger"
  263. shape="pill"
  264. type="checkbox"
  265. />
  266. <cswitch-stub
  267. checked="true"
  268. class="mx-1"
  269. color="light"
  270. shape="pill"
  271. type="checkbox"
  272. />
  273. <cswitch-stub
  274. checked="true"
  275. class="mx-1"
  276. color="dark"
  277. shape="pill"
  278. type="checkbox"
  279. />
  280. <cswitch-stub
  281. class="mx-1"
  282. color="primary"
  283. disabled=""
  284. shape="pill"
  285. type="checkbox"
  286. />
  287. </ccardbody-stub>
  288. </ccard-stub>
  289. </ccol-stub>
  290. <ccol-stub
  291. md="6"
  292. tag="div"
  293. xs="12"
  294. >
  295. <ccard-stub>
  296. <ccardheader-stub>
  297. 3d Switch
  298. </ccardheader-stub>
  299. <ccardbody-stub>
  300. <cswitch-stub
  301. checked="true"
  302. class="mx-1"
  303. color="primary"
  304. type="checkbox"
  305. variant="3d"
  306. />
  307. <cswitch-stub
  308. checked="true"
  309. class="mx-1"
  310. color="secondary"
  311. type="checkbox"
  312. variant="3d"
  313. />
  314. <cswitch-stub
  315. checked="true"
  316. class="mx-1"
  317. color="success"
  318. type="checkbox"
  319. variant="3d"
  320. />
  321. <cswitch-stub
  322. checked="true"
  323. class="mx-1"
  324. color="warning"
  325. type="checkbox"
  326. variant="3d"
  327. />
  328. <cswitch-stub
  329. checked="true"
  330. class="mx-1"
  331. color="info"
  332. type="checkbox"
  333. variant="3d"
  334. />
  335. <cswitch-stub
  336. checked="true"
  337. class="mx-1"
  338. color="danger"
  339. type="checkbox"
  340. variant="3d"
  341. />
  342. <cswitch-stub
  343. checked="true"
  344. class="mx-1"
  345. color="light"
  346. type="checkbox"
  347. variant="3d"
  348. />
  349. <cswitch-stub
  350. checked="true"
  351. class="mx-1"
  352. color="dark"
  353. type="checkbox"
  354. variant="3d"
  355. />
  356. <cswitch-stub
  357. class="mx-1"
  358. color="primary"
  359. disabled=""
  360. type="checkbox"
  361. variant="3d"
  362. />
  363. </ccardbody-stub>
  364. </ccard-stub>
  365. </ccol-stub>
  366. <ccol-stub
  367. md="6"
  368. tag="div"
  369. xs="12"
  370. >
  371. <ccard-stub>
  372. <ccardheader-stub>
  373. 3d Switch
  374. <small>
  375. <code>
  376. disabled
  377. </code>
  378. </small>
  379. </ccardheader-stub>
  380. <ccardbody-stub>
  381. <cswitch-stub
  382. checked="true"
  383. class="mx-1"
  384. color="primary"
  385. disabled=""
  386. type="checkbox"
  387. variant="3d"
  388. />
  389. <cswitch-stub
  390. checked="true"
  391. class="mx-1"
  392. color="secondary"
  393. disabled=""
  394. type="checkbox"
  395. variant="3d"
  396. />
  397. <cswitch-stub
  398. checked="true"
  399. class="mx-1"
  400. color="success"
  401. disabled=""
  402. type="checkbox"
  403. variant="3d"
  404. />
  405. <cswitch-stub
  406. checked="true"
  407. class="mx-1"
  408. color="warning"
  409. disabled=""
  410. type="checkbox"
  411. variant="3d"
  412. />
  413. <cswitch-stub
  414. checked="true"
  415. class="mx-1"
  416. color="info"
  417. disabled=""
  418. type="checkbox"
  419. variant="3d"
  420. />
  421. <cswitch-stub
  422. checked="true"
  423. class="mx-1"
  424. color="danger"
  425. disabled=""
  426. type="checkbox"
  427. variant="3d"
  428. />
  429. <cswitch-stub
  430. checked="true"
  431. class="mx-1"
  432. color="light"
  433. disabled=""
  434. type="checkbox"
  435. variant="3d"
  436. />
  437. <cswitch-stub
  438. checked="true"
  439. class="mx-1"
  440. color="dark"
  441. disabled=""
  442. type="checkbox"
  443. variant="3d"
  444. />
  445. <cswitch-stub
  446. class="mx-1"
  447. color="primary"
  448. disabled=""
  449. type="checkbox"
  450. variant="3d"
  451. />
  452. </ccardbody-stub>
  453. </ccard-stub>
  454. </ccol-stub>
  455. <ccol-stub
  456. md="6"
  457. tag="div"
  458. xs="12"
  459. >
  460. <ccard-stub>
  461. <ccardheader-stub>
  462. 3d Switch
  463. <small>
  464. <code>
  465. label
  466. </code>
  467. </small>
  468. </ccardheader-stub>
  469. <ccardbody-stub>
  470. <cswitch-stub
  471. checked="true"
  472. class="mx-1"
  473. color="primary"
  474. labeloff="✕"
  475. labelon="✓"
  476. shape="square"
  477. type="checkbox"
  478. variant="3d"
  479. />
  480. <cswitch-stub
  481. checked="true"
  482. class="mx-1"
  483. color="secondary"
  484. labeloff="✕"
  485. labelon="✓"
  486. type="checkbox"
  487. variant="3d"
  488. />
  489. <cswitch-stub
  490. checked="true"
  491. class="mx-1"
  492. color="success"
  493. labeloff="✕"
  494. labelon="✓"
  495. type="checkbox"
  496. variant="3d"
  497. />
  498. <cswitch-stub
  499. checked="true"
  500. class="mx-1"
  501. color="warning"
  502. labeloff="✕"
  503. labelon="✓"
  504. type="checkbox"
  505. variant="3d"
  506. />
  507. <cswitch-stub
  508. checked="true"
  509. class="mx-1"
  510. color="info"
  511. labeloff="✕"
  512. labelon="✓"
  513. type="checkbox"
  514. variant="3d"
  515. />
  516. <cswitch-stub
  517. checked="true"
  518. class="mx-1"
  519. color="danger"
  520. labeloff="✕"
  521. labelon="✓"
  522. type="checkbox"
  523. variant="3d"
  524. />
  525. <cswitch-stub
  526. checked="true"
  527. class="mx-1"
  528. color="light"
  529. labeloff="✕"
  530. labelon="✓"
  531. type="checkbox"
  532. variant="3d"
  533. />
  534. <cswitch-stub
  535. checked="true"
  536. class="mx-1"
  537. color="dark"
  538. labeloff="✕"
  539. labelon="✓"
  540. type="checkbox"
  541. variant="3d"
  542. />
  543. <cswitch-stub
  544. class="mx-1"
  545. color="primary"
  546. disabled=""
  547. labeloff="✕"
  548. labelon="✓"
  549. type="checkbox"
  550. variant="3d"
  551. />
  552. </ccardbody-stub>
  553. </ccard-stub>
  554. </ccol-stub>
  555. <ccol-stub
  556. md="6"
  557. tag="div"
  558. xs="12"
  559. >
  560. <ccard-stub>
  561. <ccardheader-stub>
  562. Switch
  563. <small>
  564. <code>
  565. variant="outline"
  566. </code>
  567. </small>
  568. </ccardheader-stub>
  569. <ccardbody-stub>
  570. <cswitch-stub
  571. checked="true"
  572. class="mx-1"
  573. color="primary"
  574. type="checkbox"
  575. variant="outline"
  576. />
  577. <cswitch-stub
  578. checked="true"
  579. class="mx-1"
  580. color="secondary"
  581. type="checkbox"
  582. variant="outline"
  583. />
  584. <cswitch-stub
  585. checked="true"
  586. class="mx-1"
  587. color="success"
  588. type="checkbox"
  589. variant="outline"
  590. />
  591. <cswitch-stub
  592. checked="true"
  593. class="mx-1"
  594. color="warning"
  595. type="checkbox"
  596. variant="outline"
  597. />
  598. <cswitch-stub
  599. checked="true"
  600. class="mx-1"
  601. color="info"
  602. type="checkbox"
  603. variant="outline"
  604. />
  605. <cswitch-stub
  606. checked="true"
  607. class="mx-1"
  608. color="danger"
  609. type="checkbox"
  610. variant="outline"
  611. />
  612. <cswitch-stub
  613. checked="true"
  614. class="mx-1"
  615. color="light"
  616. type="checkbox"
  617. variant="outline"
  618. />
  619. <cswitch-stub
  620. checked="true"
  621. class="mx-1"
  622. color="dark"
  623. type="checkbox"
  624. variant="outline"
  625. />
  626. <cswitch-stub
  627. class="mx-1"
  628. color="primary"
  629. disabled=""
  630. type="checkbox"
  631. variant="outline"
  632. />
  633. </ccardbody-stub>
  634. </ccard-stub>
  635. </ccol-stub>
  636. <ccol-stub
  637. md="6"
  638. tag="div"
  639. xs="12"
  640. >
  641. <ccard-stub>
  642. <ccardheader-stub>
  643. Switch
  644. <small>
  645. <code>
  646. variant="outline" shape="pill"
  647. </code>
  648. </small>
  649. </ccardheader-stub>
  650. <ccardbody-stub>
  651. <cswitch-stub
  652. checked="true"
  653. class="mx-1"
  654. color="primary"
  655. shape="pill"
  656. type="checkbox"
  657. variant="outline"
  658. />
  659. <cswitch-stub
  660. checked="true"
  661. class="mx-1"
  662. color="secondary"
  663. shape="pill"
  664. type="checkbox"
  665. variant="outline"
  666. />
  667. <cswitch-stub
  668. checked="true"
  669. class="mx-1"
  670. color="success"
  671. shape="pill"
  672. type="checkbox"
  673. variant="outline"
  674. />
  675. <cswitch-stub
  676. checked="true"
  677. class="mx-1"
  678. color="warning"
  679. shape="pill"
  680. type="checkbox"
  681. variant="outline"
  682. />
  683. <cswitch-stub
  684. checked="true"
  685. class="mx-1"
  686. color="info"
  687. shape="pill"
  688. type="checkbox"
  689. variant="outline"
  690. />
  691. <cswitch-stub
  692. checked="true"
  693. class="mx-1"
  694. color="danger"
  695. shape="pill"
  696. type="checkbox"
  697. variant="outline"
  698. />
  699. <cswitch-stub
  700. checked="true"
  701. class="mx-1"
  702. color="light"
  703. shape="pill"
  704. type="checkbox"
  705. variant="outline"
  706. />
  707. <cswitch-stub
  708. checked="true"
  709. class="mx-1"
  710. color="dark"
  711. shape="pill"
  712. type="checkbox"
  713. variant="outline"
  714. />
  715. <cswitch-stub
  716. class="mx-1"
  717. color="primary"
  718. disabled=""
  719. shape="pill"
  720. type="checkbox"
  721. variant="outline"
  722. />
  723. </ccardbody-stub>
  724. </ccard-stub>
  725. </ccol-stub>
  726. <ccol-stub
  727. md="6"
  728. tag="div"
  729. xs="12"
  730. >
  731. <ccard-stub>
  732. <ccardheader-stub>
  733. Switch
  734. <small>
  735. <code>
  736. variant="opposite"
  737. </code>
  738. </small>
  739. </ccardheader-stub>
  740. <ccardbody-stub>
  741. <cswitch-stub
  742. checked="true"
  743. class="mx-1"
  744. color="primary"
  745. type="checkbox"
  746. variant="opposite"
  747. />
  748. <cswitch-stub
  749. checked="true"
  750. class="mx-1"
  751. color="secondary"
  752. type="checkbox"
  753. variant="opposite"
  754. />
  755. <cswitch-stub
  756. checked="true"
  757. class="mx-1"
  758. color="success"
  759. type="checkbox"
  760. variant="opposite"
  761. />
  762. <cswitch-stub
  763. checked="true"
  764. class="mx-1"
  765. color="warning"
  766. type="checkbox"
  767. variant="opposite"
  768. />
  769. <cswitch-stub
  770. checked="true"
  771. class="mx-1"
  772. color="info"
  773. type="checkbox"
  774. variant="opposite"
  775. />
  776. <cswitch-stub
  777. checked="true"
  778. class="mx-1"
  779. color="danger"
  780. type="checkbox"
  781. variant="opposite"
  782. />
  783. <cswitch-stub
  784. checked="true"
  785. class="mx-1"
  786. color="light"
  787. type="checkbox"
  788. variant="opposite"
  789. />
  790. <cswitch-stub
  791. checked="true"
  792. class="mx-1"
  793. color="dark"
  794. type="checkbox"
  795. variant="opposite"
  796. />
  797. <cswitch-stub
  798. class="mx-1"
  799. color="primary"
  800. disabled=""
  801. type="checkbox"
  802. variant="opposite"
  803. />
  804. </ccardbody-stub>
  805. </ccard-stub>
  806. </ccol-stub>
  807. <ccol-stub
  808. md="6"
  809. tag="div"
  810. xs="12"
  811. >
  812. <ccard-stub>
  813. <ccardheader-stub>
  814. Switch
  815. <small>
  816. <code>
  817. variant="opposite" shape="pill"
  818. </code>
  819. </small>
  820. </ccardheader-stub>
  821. <ccardbody-stub>
  822. <cswitch-stub
  823. checked="true"
  824. class="mx-1"
  825. color="primary"
  826. shape="pill"
  827. type="checkbox"
  828. variant="opposite"
  829. />
  830. <cswitch-stub
  831. checked="true"
  832. class="mx-1"
  833. color="secondary"
  834. shape="pill"
  835. type="checkbox"
  836. variant="opposite"
  837. />
  838. <cswitch-stub
  839. checked="true"
  840. class="mx-1"
  841. color="success"
  842. shape="pill"
  843. type="checkbox"
  844. variant="opposite"
  845. />
  846. <cswitch-stub
  847. checked="true"
  848. class="mx-1"
  849. color="warning"
  850. shape="pill"
  851. type="checkbox"
  852. variant="opposite"
  853. />
  854. <cswitch-stub
  855. checked="true"
  856. class="mx-1"
  857. color="info"
  858. shape="pill"
  859. type="checkbox"
  860. variant="opposite"
  861. />
  862. <cswitch-stub
  863. checked="true"
  864. class="mx-1"
  865. color="danger"
  866. shape="pill"
  867. type="checkbox"
  868. variant="opposite"
  869. />
  870. <cswitch-stub
  871. checked="true"
  872. class="mx-1"
  873. color="light"
  874. shape="pill"
  875. type="checkbox"
  876. variant="opposite"
  877. />
  878. <cswitch-stub
  879. checked="true"
  880. class="mx-1"
  881. color="dark"
  882. shape="pill"
  883. type="checkbox"
  884. variant="opposite"
  885. />
  886. <cswitch-stub
  887. class="mx-1"
  888. color="primary"
  889. disabled=""
  890. shape="pill"
  891. type="checkbox"
  892. variant="opposite"
  893. />
  894. </ccardbody-stub>
  895. </ccard-stub>
  896. </ccol-stub>
  897. <ccol-stub
  898. md="6"
  899. tag="div"
  900. xs="12"
  901. >
  902. <ccard-stub>
  903. <ccardheader-stub>
  904. Switch
  905. <small>
  906. <code>
  907. label
  908. </code>
  909. </small>
  910. </ccardheader-stub>
  911. <ccardbody-stub>
  912. <cswitch-stub
  913. checked="true"
  914. class="mx-1"
  915. color="primary"
  916. labeloff="✕"
  917. labelon="✓"
  918. type="checkbox"
  919. />
  920. <cswitch-stub
  921. checked="true"
  922. class="mx-1"
  923. color="secondary"
  924. labeloff="✕"
  925. labelon="✓"
  926. type="checkbox"
  927. />
  928. <cswitch-stub
  929. checked="true"
  930. class="mx-1"
  931. color="success"
  932. labeloff="✕"
  933. labelon="✓"
  934. type="checkbox"
  935. />
  936. <cswitch-stub
  937. checked="true"
  938. class="mx-1"
  939. color="warning"
  940. labeloff="✕"
  941. labelon="✓"
  942. type="checkbox"
  943. />
  944. <cswitch-stub
  945. checked="true"
  946. class="mx-1"
  947. color="info"
  948. labeloff="✕"
  949. labelon="✓"
  950. type="checkbox"
  951. />
  952. <cswitch-stub
  953. checked="true"
  954. class="mx-1"
  955. color="danger"
  956. labeloff="✕"
  957. labelon="✓"
  958. type="checkbox"
  959. />
  960. <cswitch-stub
  961. checked="true"
  962. class="mx-1"
  963. color="light"
  964. labeloff="✕"
  965. labelon="✓"
  966. type="checkbox"
  967. />
  968. <cswitch-stub
  969. checked="true"
  970. class="mx-1"
  971. color="dark"
  972. labeloff="✕"
  973. labelon="✓"
  974. type="checkbox"
  975. />
  976. <cswitch-stub
  977. class="mx-1"
  978. color="primary"
  979. disabled=""
  980. labeloff="✕"
  981. labelon="✓"
  982. type="checkbox"
  983. />
  984. </ccardbody-stub>
  985. </ccard-stub>
  986. shape
  987. </ccol-stub>
  988. <ccol-stub
  989. md="6"
  990. tag="div"
  991. xs="12"
  992. >
  993. <ccard-stub>
  994. <ccardheader-stub>
  995. Switch
  996. <small>
  997. <code>
  998. label shape="pill"
  999. </code>
  1000. </small>
  1001. </ccardheader-stub>
  1002. <ccardbody-stub>
  1003. <cswitch-stub
  1004. checked="true"
  1005. class="mx-1"
  1006. color="primary"
  1007. labeloff="✕"
  1008. labelon="✓"
  1009. shape="pill"
  1010. type="checkbox"
  1011. />
  1012. <cswitch-stub
  1013. checked="true"
  1014. class="mx-1"
  1015. color="secondary"
  1016. labeloff="✕"
  1017. labelon="✓"
  1018. shape="pill"
  1019. type="checkbox"
  1020. />
  1021. <cswitch-stub
  1022. checked="true"
  1023. class="mx-1"
  1024. color="success"
  1025. labeloff="✕"
  1026. labelon="✓"
  1027. shape="pill"
  1028. type="checkbox"
  1029. />
  1030. <cswitch-stub
  1031. checked="true"
  1032. class="mx-1"
  1033. color="warning"
  1034. labeloff="✕"
  1035. labelon="✓"
  1036. shape="pill"
  1037. type="checkbox"
  1038. />
  1039. <cswitch-stub
  1040. checked="true"
  1041. class="mx-1"
  1042. color="info"
  1043. labeloff="✕"
  1044. labelon="✓"
  1045. shape="pill"
  1046. type="checkbox"
  1047. />
  1048. <cswitch-stub
  1049. checked="true"
  1050. class="mx-1"
  1051. color="danger"
  1052. labeloff="✕"
  1053. labelon="✓"
  1054. shape="pill"
  1055. type="checkbox"
  1056. />
  1057. <cswitch-stub
  1058. checked="true"
  1059. class="mx-1"
  1060. color="light"
  1061. labeloff="✕"
  1062. labelon="✓"
  1063. shape="pill"
  1064. type="checkbox"
  1065. />
  1066. <cswitch-stub
  1067. checked="true"
  1068. class="mx-1"
  1069. color="dark"
  1070. labeloff="✕"
  1071. labelon="✓"
  1072. shape="pill"
  1073. type="checkbox"
  1074. />
  1075. <cswitch-stub
  1076. class="mx-1"
  1077. color="primary"
  1078. disabled=""
  1079. labeloff="✕"
  1080. labelon="✓"
  1081. shape="pill"
  1082. type="checkbox"
  1083. />
  1084. </ccardbody-stub>
  1085. </ccard-stub>
  1086. </ccol-stub>
  1087. <ccol-stub
  1088. md="6"
  1089. tag="div"
  1090. xs="12"
  1091. >
  1092. <ccard-stub>
  1093. <ccardheader-stub>
  1094. Switch
  1095. <small>
  1096. <code>
  1097. label variant="outline"
  1098. </code>
  1099. </small>
  1100. </ccardheader-stub>
  1101. <ccardbody-stub>
  1102. <cswitch-stub
  1103. checked="true"
  1104. class="mx-1"
  1105. color="primary"
  1106. labeloff="✕"
  1107. labelon="✓"
  1108. type="checkbox"
  1109. variant="outline"
  1110. />
  1111. <cswitch-stub
  1112. checked="true"
  1113. class="mx-1"
  1114. color="secondary"
  1115. labeloff="✕"
  1116. labelon="✓"
  1117. type="checkbox"
  1118. variant="outline"
  1119. />
  1120. <cswitch-stub
  1121. checked="true"
  1122. class="mx-1"
  1123. color="success"
  1124. labeloff="✕"
  1125. labelon="✓"
  1126. type="checkbox"
  1127. variant="outline"
  1128. />
  1129. <cswitch-stub
  1130. checked="true"
  1131. class="mx-1"
  1132. color="warning"
  1133. labeloff="✕"
  1134. labelon="✓"
  1135. type="checkbox"
  1136. variant="outline"
  1137. />
  1138. <cswitch-stub
  1139. checked="true"
  1140. class="mx-1"
  1141. color="info"
  1142. labeloff="✕"
  1143. labelon="✓"
  1144. type="checkbox"
  1145. variant="outline"
  1146. />
  1147. <cswitch-stub
  1148. checked="true"
  1149. class="mx-1"
  1150. color="danger"
  1151. labeloff="✕"
  1152. labelon="✓"
  1153. type="checkbox"
  1154. variant="outline"
  1155. />
  1156. <cswitch-stub
  1157. checked="true"
  1158. class="mx-1"
  1159. color="light"
  1160. labeloff="✕"
  1161. labelon="✓"
  1162. type="checkbox"
  1163. variant="outline"
  1164. />
  1165. <cswitch-stub
  1166. checked="true"
  1167. class="mx-1"
  1168. color="dark"
  1169. labeloff="✕"
  1170. labelon="✓"
  1171. type="checkbox"
  1172. variant="outline"
  1173. />
  1174. <cswitch-stub
  1175. class="mx-1"
  1176. color="primary"
  1177. disabled=""
  1178. labeloff="✕"
  1179. labelon="✓"
  1180. type="checkbox"
  1181. variant="outline"
  1182. />
  1183. </ccardbody-stub>
  1184. </ccard-stub>
  1185. </ccol-stub>
  1186. <ccol-stub
  1187. md="6"
  1188. tag="div"
  1189. xs="12"
  1190. >
  1191. <ccard-stub>
  1192. <ccardheader-stub>
  1193. Switch
  1194. <small>
  1195. <code>
  1196. label variant="outline"
  1197. </code>
  1198. </small>
  1199. </ccardheader-stub>
  1200. <ccardbody-stub>
  1201. <cswitch-stub
  1202. checked="true"
  1203. class="mx-1"
  1204. color="primary"
  1205. labeloff="✕"
  1206. labelon="✓"
  1207. shape="pill"
  1208. type="checkbox"
  1209. variant="outline"
  1210. />
  1211. <cswitch-stub
  1212. checked="true"
  1213. class="mx-1"
  1214. color="secondary"
  1215. labeloff="✕"
  1216. labelon="✓"
  1217. shape="pill"
  1218. type="checkbox"
  1219. variant="outline"
  1220. />
  1221. <cswitch-stub
  1222. checked="true"
  1223. class="mx-1"
  1224. color="success"
  1225. labeloff="✕"
  1226. labelon="✓"
  1227. shape="pill"
  1228. type="checkbox"
  1229. variant="outline"
  1230. />
  1231. <cswitch-stub
  1232. checked="true"
  1233. class="mx-1"
  1234. color="warning"
  1235. labeloff="✕"
  1236. labelon="✓"
  1237. shape="pill"
  1238. type="checkbox"
  1239. variant="outline"
  1240. />
  1241. <cswitch-stub
  1242. checked="true"
  1243. class="mx-1"
  1244. color="info"
  1245. labeloff="✕"
  1246. labelon="✓"
  1247. shape="pill"
  1248. type="checkbox"
  1249. variant="outline"
  1250. />
  1251. <cswitch-stub
  1252. checked="true"
  1253. class="mx-1"
  1254. color="danger"
  1255. labeloff="✕"
  1256. labelon="✓"
  1257. shape="pill"
  1258. type="checkbox"
  1259. variant="outline"
  1260. />
  1261. <cswitch-stub
  1262. checked="true"
  1263. class="mx-1"
  1264. color="light"
  1265. labeloff="✕"
  1266. labelon="✓"
  1267. shape="pill"
  1268. type="checkbox"
  1269. variant="outline"
  1270. />
  1271. <cswitch-stub
  1272. checked="true"
  1273. class="mx-1"
  1274. color="dark"
  1275. labeloff="✕"
  1276. labelon="✓"
  1277. shape="pill"
  1278. type="checkbox"
  1279. variant="outline"
  1280. />
  1281. <cswitch-stub
  1282. class="mx-1"
  1283. color="primary"
  1284. disabled=""
  1285. labeloff="✕"
  1286. labelon="✓"
  1287. shape="pill"
  1288. type="checkbox"
  1289. variant="outline"
  1290. />
  1291. </ccardbody-stub>
  1292. </ccard-stub>
  1293. </ccol-stub>
  1294. <ccol-stub
  1295. md="6"
  1296. tag="div"
  1297. xs="12"
  1298. >
  1299. <ccard-stub>
  1300. <ccardheader-stub>
  1301. Switch
  1302. <small>
  1303. <code>
  1304. label variant="opposite"
  1305. </code>
  1306. </small>
  1307. </ccardheader-stub>
  1308. <ccardbody-stub>
  1309. <cswitch-stub
  1310. checked="true"
  1311. class="mx-1"
  1312. color="primary"
  1313. labeloff="✕"
  1314. labelon="✓"
  1315. type="checkbox"
  1316. variant="opposite"
  1317. />
  1318. <cswitch-stub
  1319. checked="true"
  1320. class="mx-1"
  1321. color="secondary"
  1322. labeloff="✕"
  1323. labelon="✓"
  1324. type="checkbox"
  1325. variant="opposite"
  1326. />
  1327. <cswitch-stub
  1328. checked="true"
  1329. class="mx-1"
  1330. color="success"
  1331. labeloff="✕"
  1332. labelon="✓"
  1333. type="checkbox"
  1334. variant="opposite"
  1335. />
  1336. <cswitch-stub
  1337. checked="true"
  1338. class="mx-1"
  1339. color="warning"
  1340. labeloff="✕"
  1341. labelon="✓"
  1342. type="checkbox"
  1343. variant="opposite"
  1344. />
  1345. <cswitch-stub
  1346. checked="true"
  1347. class="mx-1"
  1348. color="info"
  1349. labeloff="✕"
  1350. labelon="✓"
  1351. type="checkbox"
  1352. variant="opposite"
  1353. />
  1354. <cswitch-stub
  1355. checked="true"
  1356. class="mx-1"
  1357. color="danger"
  1358. labeloff="✕"
  1359. labelon="✓"
  1360. type="checkbox"
  1361. variant="opposite"
  1362. />
  1363. <cswitch-stub
  1364. checked="true"
  1365. class="mx-1"
  1366. color="light"
  1367. labeloff="✕"
  1368. labelon="✓"
  1369. type="checkbox"
  1370. variant="opposite"
  1371. />
  1372. <cswitch-stub
  1373. checked="true"
  1374. class="mx-1"
  1375. color="dark"
  1376. labeloff="✕"
  1377. labelon="✓"
  1378. type="checkbox"
  1379. variant="opposite"
  1380. />
  1381. <cswitch-stub
  1382. class="mx-1"
  1383. color="primary"
  1384. disabled=""
  1385. labeloff="✕"
  1386. labelon="✓"
  1387. type="checkbox"
  1388. variant="opposite"
  1389. />
  1390. </ccardbody-stub>
  1391. </ccard-stub>
  1392. </ccol-stub>
  1393. <ccol-stub
  1394. md="6"
  1395. tag="div"
  1396. xs="12"
  1397. >
  1398. <ccard-stub>
  1399. <ccardheader-stub>
  1400. Switch
  1401. <small>
  1402. <code>
  1403. label variant="opposite"
  1404. </code>
  1405. </small>
  1406. </ccardheader-stub>
  1407. <ccardbody-stub>
  1408. <cswitch-stub
  1409. checked="true"
  1410. class="mx-1"
  1411. color="primary"
  1412. labeloff="no"
  1413. labelon="yes"
  1414. shape="pill"
  1415. type="checkbox"
  1416. variant="opposite"
  1417. />
  1418. <cswitch-stub
  1419. checked="true"
  1420. class="mx-1"
  1421. color="secondary"
  1422. labeloff="✕"
  1423. labelon="✓"
  1424. shape="pill"
  1425. type="checkbox"
  1426. variant="opposite"
  1427. />
  1428. <cswitch-stub
  1429. checked="true"
  1430. class="mx-1"
  1431. color="success"
  1432. labeloff="✕"
  1433. labelon="✓"
  1434. shape="pill"
  1435. type="checkbox"
  1436. variant="opposite"
  1437. />
  1438. <cswitch-stub
  1439. checked="true"
  1440. class="mx-1"
  1441. color="warning"
  1442. labeloff="✕"
  1443. labelon="✓"
  1444. shape="pill"
  1445. type="checkbox"
  1446. variant="opposite"
  1447. />
  1448. <cswitch-stub
  1449. checked="true"
  1450. class="mx-1"
  1451. color="info"
  1452. labeloff="✕"
  1453. labelon="✓"
  1454. shape="pill"
  1455. type="checkbox"
  1456. variant="opposite"
  1457. />
  1458. <cswitch-stub
  1459. checked="true"
  1460. class="mx-1"
  1461. color="danger"
  1462. labeloff="✕"
  1463. labelon="✓"
  1464. shape="pill"
  1465. type="checkbox"
  1466. variant="opposite"
  1467. />
  1468. <cswitch-stub
  1469. checked="true"
  1470. class="mx-1"
  1471. color="light"
  1472. labeloff="✕"
  1473. labelon="✓"
  1474. shape="pill"
  1475. type="checkbox"
  1476. variant="opposite"
  1477. />
  1478. <cswitch-stub
  1479. checked="true"
  1480. class="mx-1"
  1481. color="dark"
  1482. labeloff="✕"
  1483. labelon="✓"
  1484. shape="pill"
  1485. type="checkbox"
  1486. variant="opposite"
  1487. />
  1488. <cswitch-stub
  1489. class="mx-1"
  1490. color="primary"
  1491. disabled=""
  1492. labeloff="✕"
  1493. labelon="✓"
  1494. shape="pill"
  1495. type="checkbox"
  1496. variant="opposite"
  1497. />
  1498. </ccardbody-stub>
  1499. </ccard-stub>
  1500. </ccol-stub>
  1501. <ccol-stub
  1502. md="12"
  1503. tag="div"
  1504. >
  1505. <ccard-stub>
  1506. <ccardheader-stub>
  1507. Sizes
  1508. </ccardheader-stub>
  1509. <ccardbody-stub
  1510. class="p-0"
  1511. >
  1512. <cdatatable-stub
  1513. class="table-align-middle mb-0"
  1514. fields="[object Object],[object Object],[object Object]"
  1515. header="true"
  1516. hover="true"
  1517. items="[object Object],[object Object],[object Object]"
  1518. itemsperpage="10"
  1519. no-sorting=""
  1520. responsive="true"
  1521. sortervalue="[object Object]"
  1522. striped="true"
  1523. />
  1524. </ccardbody-stub>
  1525. </ccard-stub>
  1526. </ccol-stub>
  1527. </crow-stub>
  1528. </div>
  1529. `;