fix: minor refactors and fixes

This commit is contained in:
woothu
2020-07-10 12:20:05 +02:00
parent d756323b91
commit 5a23cd1890
11 changed files with 197 additions and 388 deletions
@@ -2,187 +2,6 @@
exports[`ListGroups.vue renders correctly 1`] = `
<div>
<crow-stub
gutters="true"
tag="div"
>
<ccol-stub
md="6"
tag="div"
>
<ccard-stub>
<ccardheader-stub>
<cicon-stub
name="cil-justify-center"
/>
<strong>
Bootstrap list group
</strong>
<div
class="card-header-actions"
>
<a
class="card-header-action"
href="https://coreui.io/vue/docs/components/list-group"
rel="noreferrer noopener"
target="_blank"
>
<small
class="text-muted"
>
docs
</small>
</a>
</div>
</ccardheader-stub>
<ccardbody-stub>
<clistgroup-stub
tag="ul"
>
<clistgroupitem-stub
activeclass="router-link-active"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
tag="li"
target="_self"
>
Cras justo odio
</clistgroupitem-stub>
<clistgroupitem-stub
activeclass="router-link-active"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
tag="li"
target="_self"
>
Dapibus ac facilisis in
</clistgroupitem-stub>
<clistgroupitem-stub
activeclass="router-link-active"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
tag="li"
target="_self"
>
Morbi leo risus
</clistgroupitem-stub>
<clistgroupitem-stub
activeclass="router-link-active"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
tag="li"
target="_self"
>
Porta ac consectetur ac
</clistgroupitem-stub>
<clistgroupitem-stub
activeclass="router-link-active"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
tag="li"
target="_self"
>
Vestibulum at eros
</clistgroupitem-stub>
</clistgroup-stub>
</ccardbody-stub>
</ccard-stub>
</ccol-stub>
<ccol-stub
md="6"
tag="div"
>
<ccard-stub>
<ccardheader-stub>
<cicon-stub
name="cil-justify-center"
/>
<strong>
List group
</strong>
<small>
active items
</small>
</ccardheader-stub>
<ccardbody-stub>
<clistgroup-stub
tag="ul"
>
<clistgroupitem-stub
activeclass="router-link-active"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
tag="li"
target="_self"
>
Cras justo odio
</clistgroupitem-stub>
<clistgroupitem-stub
active="true"
activeclass="router-link-active"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
tag="li"
target="_self"
>
Dapibus ac facilisis in
</clistgroupitem-stub>
<clistgroupitem-stub
activeclass="router-link-active"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
tag="li"
target="_self"
>
Morbi leo risus
</clistgroupitem-stub>
<clistgroupitem-stub
activeclass="router-link-active"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
tag="li"
target="_self"
>
Porta ac consectetur ac
</clistgroupitem-stub>
<clistgroupitem-stub
activeclass="router-link-active"
event="click"
exactactiveclass="router-link-exact-active"
routertag="a"
tag="li"
target="_self"
>
Vestibulum at eros
</clistgroupitem-stub>
</clistgroup-stub>
</ccardbody-stub>
</ccard-stub>
</ccol-stub>
</crow-stub>
<crow-stub
gutters="true"
tag="div"
@@ -244,6 +63,8 @@ exports[`ListGroups.vue renders correctly 1`] = `
Morbi leo risus
</clistgroupitem-stub>
<clistgroupitemdivider />
<clistgroupitem-stub
activeclass="router-link-active"
disabled="true"
@@ -684,15 +505,17 @@ exports[`ListGroups.vue renders correctly 1`] = `
</strong>
<small>
colors active
colors active accent
</small>
</ccardheader-stub>
<ccardbody-stub>
<clistgroup-stub
accent=""
tag="ul"
>
<clistgroupitem-stub
accent="light"
activeclass="router-link-active"
event="click"
exactactiveclass="router-link-exact-active"
@@ -705,6 +528,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
</clistgroupitem-stub>
<clistgroupitem-stub
accent="primary"
activeclass="router-link-active"
color="primary"
event="click"
@@ -718,6 +542,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
</clistgroupitem-stub>
<clistgroupitem-stub
accent="secondary"
activeclass="router-link-active"
color="secondary"
event="click"
@@ -731,6 +556,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
</clistgroupitem-stub>
<clistgroupitem-stub
accent="success"
activeclass="router-link-active"
color="success"
event="click"
@@ -744,6 +570,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
</clistgroupitem-stub>
<clistgroupitem-stub
accent="danger"
activeclass="router-link-active"
color="danger"
event="click"
@@ -757,6 +584,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
</clistgroupitem-stub>
<clistgroupitem-stub
accent="warning"
activeclass="router-link-active"
color="warning"
event="click"
@@ -770,6 +598,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
</clistgroupitem-stub>
<clistgroupitem-stub
accent="info"
activeclass="router-link-active"
color="info"
event="click"
@@ -783,6 +612,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
</clistgroupitem-stub>
<clistgroupitem-stub
accent="light"
activeclass="router-link-active"
color="light"
event="click"
@@ -796,6 +626,7 @@ exports[`ListGroups.vue renders correctly 1`] = `
</clistgroupitem-stub>
<clistgroupitem-stub
accent="dark"
activeclass="router-link-active"
color="dark"
event="click"
@@ -519,12 +519,12 @@ exports[`Navs.vue renders correctly 1`] = `
>
<ccol-stub
class="m-0"
col="3"
col="12"
tag="div"
>
<cnav-stub
pills=""
vertical="true"
vertical="lg"
>
<cnavitem-stub
active="true"
@@ -47,21 +47,21 @@ exports[`ProgressBars.vue renders correctly 1`] = `
value="0"
>
<cprogressbar-stub
color="success"
color="gradient-success"
max="100"
precision="0"
value="43.8"
/>
<cprogressbar-stub
color="warning"
color="gradient-warning"
max="100"
precision="0"
value="18.25"
/>
<cprogressbar-stub
color="danger"
color="gradient-danger"
max="100"
precision="0"
value="10.95"
@@ -249,26 +249,44 @@ exports[`ProgressBars.vue renders correctly 1`] = `
<cprogress-stub
class="mb-2"
height="2rem"
max="100"
precision="0"
showpercentage="true"
size="xs"
value="75"
/>
<cprogress-stub
class="mb-2"
height="20px"
max="100"
precision="0"
showpercentage="true"
size="sm"
value="75"
/>
<cprogress-stub
height="2px"
class="mb-2"
max="100"
precision="0"
showpercentage="true"
style="height: 2rem;"
value="75"
/>
<cprogress-stub
class="mb-2"
max="100"
precision="0"
showpercentage="true"
style="height: 20px;"
value="75"
/>
<cprogress-stub
max="100"
precision="0"
style="height: 2px;"
value="75"
/>
</ccardbody-stub>
@@ -296,14 +314,14 @@ exports[`ProgressBars.vue renders correctly 1`] = `
<div
class="col-sm-2"
>
success:
gradient-success:
</div>
<div
class="col-sm-10 pt-1"
>
<cprogress-stub
color="success"
color="gradient-success"
max="100"
precision="0"
value="75"
@@ -316,14 +334,14 @@ exports[`ProgressBars.vue renders correctly 1`] = `
<div
class="col-sm-2"
>
info:
gradient-info:
</div>
<div
class="col-sm-10 pt-1"
>
<cprogress-stub
color="info"
color="gradient-info"
max="100"
precision="0"
value="75"
@@ -336,14 +354,14 @@ exports[`ProgressBars.vue renders correctly 1`] = `
<div
class="col-sm-2"
>
warning:
gradient-warning:
</div>
<div
class="col-sm-10 pt-1"
>
<cprogress-stub
color="warning"
color="gradient-warning"
max="100"
precision="0"
value="75"
@@ -356,14 +374,14 @@ exports[`ProgressBars.vue renders correctly 1`] = `
<div
class="col-sm-2"
>
danger:
gradient-danger:
</div>
<div
class="col-sm-10 pt-1"
>
<cprogress-stub
color="danger"
color="gradient-danger"
max="100"
precision="0"
value="75"
@@ -376,14 +394,14 @@ exports[`ProgressBars.vue renders correctly 1`] = `
<div
class="col-sm-2"
>
primary:
gradient-primary:
</div>
<div
class="col-sm-10 pt-1"
>
<cprogress-stub
color="primary"
color="gradient-primary"
max="100"
precision="0"
value="75"
@@ -396,14 +414,14 @@ exports[`ProgressBars.vue renders correctly 1`] = `
<div
class="col-sm-2"
>
secondary:
gradient-secondary:
</div>
<div
class="col-sm-10 pt-1"
>
<cprogress-stub
color="secondary"
color="gradient-secondary"
max="100"
precision="0"
value="75"
@@ -416,14 +434,14 @@ exports[`ProgressBars.vue renders correctly 1`] = `
<div
class="col-sm-2"
>
dark:
gradient-dark:
</div>
<div
class="col-sm-10 pt-1"
>
<cprogress-stub
color="dark"
color="gradient-dark"
max="100"
precision="0"
value="75"
@@ -595,21 +613,21 @@ exports[`ProgressBars.vue renders correctly 1`] = `
value="0"
>
<cprogressbar-stub
color="primary"
color="gradient-primary"
max="100"
precision="0"
value="15"
/>
<cprogressbar-stub
color="success"
color="gradient-success"
max="100"
precision="0"
value="30"
/>
<cprogressbar-stub
color="info"
color="gradient-info"
max="100"
precision="0"
value="20"
@@ -624,21 +642,21 @@ exports[`ProgressBars.vue renders correctly 1`] = `
value="0"
>
<cprogressbar-stub
color="primary"
color="gradient-primary"
max="100"
precision="0"
value="15"
/>
<cprogressbar-stub
color="success"
color="gradient-success"
max="100"
precision="0"
value="30"
/>
<cprogressbar-stub
color="info"
color="gradient-info"
max="100"
precision="0"
value="20"
@@ -654,21 +672,21 @@ exports[`ProgressBars.vue renders correctly 1`] = `
value="0"
>
<cprogressbar-stub
color="primary"
color="gradient-primary"
max="100"
precision="0"
value="15"
/>
<cprogressbar-stub
color="success"
color="gradient-success"
max="100"
precision="0"
value="30"
/>
<cprogressbar-stub
color="info"
color="gradient-info"
max="100"
precision="0"
value="20"
@@ -682,7 +700,7 @@ exports[`ProgressBars.vue renders correctly 1`] = `
value="0"
>
<cprogressbar-stub
color="primary"
color="gradient-primary"
max="100"
precision="0"
showpercentage="true"
@@ -699,7 +717,7 @@ exports[`ProgressBars.vue renders correctly 1`] = `
/>
<cprogressbar-stub
color="info"
color="gradient-info"
max="100"
precision="0"
showpercentage="true"
@@ -51,7 +51,7 @@ exports[`Tables.vue renders correctly 1`] = `
tag="div"
>
<ctablewrapper-stub
bordered="true"
border="true"
caption="Bordered Table"
fields="username,registered,role,status"
fixed="true"
@@ -69,7 +69,7 @@ exports[`Tables.vue renders correctly 1`] = `
tag="div"
>
<ctablewrapper-stub
bordered="true"
border="true"
caption="Combined All Table"
fields="username,registered,role,status"
fixed="true"
@@ -90,7 +90,7 @@ exports[`Tables.vue renders correctly 1`] = `
tag="div"
>
<ctablewrapper-stub
bordered="true"
border="true"
caption="Combined All dark Table"
dark="true"
fields="username,registered,role,status"