@enki-tek/fms-web-components 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
@@ -4,16 +4,16 @@
|
|
4
4
|
|
5
5
|
<div class="main-content">
|
6
6
|
<div class="d-flex justify-content-between flex-wrap align-items-top mt-3 pb-2 px-0 flex-fill">
|
7
|
-
<
|
7
|
+
<div class="flex-fill">
|
8
8
|
<header>
|
9
9
|
<div class="d-flex flex-row justify-content-start title">
|
10
10
|
<slot name="title" />
|
11
11
|
</div>
|
12
12
|
</header>
|
13
|
-
</
|
14
|
-
<
|
13
|
+
</div>
|
14
|
+
<div class="flex-fill">
|
15
15
|
<slot name="actions" />
|
16
|
-
</
|
16
|
+
</div>
|
17
17
|
</div>
|
18
18
|
<Row>
|
19
19
|
<slot name="widget" />
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<script>
|
2
2
|
import { Col, Row } from 'sveltestrap';
|
3
|
-
export let text = '
|
3
|
+
export let text = '';
|
4
4
|
export let color = false;
|
5
5
|
export let icon = 'warning_amber';
|
6
6
|
export let switchButton = false;
|
7
|
-
export let time = '
|
7
|
+
export let time = '';
|
8
8
|
</script>
|
9
9
|
|
10
10
|
<Row class="mt-2">
|
@@ -16,8 +16,8 @@
|
|
16
16
|
>
|
17
17
|
</div>
|
18
18
|
<div class="pe-2 pt-1">{text}</div>
|
19
|
-
</div
|
20
|
-
>
|
19
|
+
</div>
|
20
|
+
</Col>
|
21
21
|
<Col md="3">
|
22
22
|
{#if switchButton}
|
23
23
|
<div class="float-end">
|