@enki-tek/fms-web-components 0.1.15 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,11 @@
|
|
1
1
|
<script>
|
2
2
|
import Icon from '../Icon/Icon.svelte';
|
3
|
-
import { Badge } from 'sveltestrap';
|
4
3
|
export let sensorName;
|
4
|
+
export let icon="house-fill";
|
5
5
|
</script>
|
6
6
|
<div class="row align-items-center p-0">
|
7
7
|
<div class="col">
|
8
|
-
<div class="text-dark"><Icon iconName="
|
8
|
+
<div class="text-dark h6"><Icon iconName="{icon}" />{sensorName}</div>
|
9
9
|
<slot name='status' />
|
10
10
|
</div>
|
11
11
|
<div class="col p-0">
|
@@ -3,6 +3,7 @@
|
|
3
3
|
/** @typedef {typeof __propDef.slots} SensorWidgetTitleSlots */
|
4
4
|
export default class SensorWidgetTitle extends SvelteComponentTyped<{
|
5
5
|
sensorName: any;
|
6
|
+
icon?: string | undefined;
|
6
7
|
}, {
|
7
8
|
[evt: string]: CustomEvent<any>;
|
8
9
|
}, {
|
@@ -17,6 +18,7 @@ import { SvelteComponentTyped } from "svelte";
|
|
17
18
|
declare const __propDef: {
|
18
19
|
props: {
|
19
20
|
sensorName: any;
|
21
|
+
icon?: string | undefined;
|
20
22
|
};
|
21
23
|
events: {
|
22
24
|
[evt: string]: CustomEvent<any>;
|