@enki-tek/fms-web-components 0.1.24 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@
|
|
4
4
|
</script>
|
5
5
|
|
6
6
|
<span class="{status == 'active' ? "completed-tag" : (status == 'inactive' ? "inactive-tag" :
|
7
|
-
(status == 'warning' ? "progress-tag" : "overdue-tag")) } badge
|
7
|
+
(status == 'warning' ? "progress-tag" : "overdue-tag")) } badge "> {title}</span>
|
8
8
|
|
9
9
|
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
10
10
|
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
@@ -3,9 +3,12 @@
|
|
3
3
|
export let subtitle;
|
4
4
|
</script>
|
5
5
|
|
6
|
-
<div class="column py-2
|
6
|
+
<div class="column py-2">
|
7
7
|
<div class="text-black-50">{title}</div>
|
8
|
-
<div class="text-dark fs-6">
|
8
|
+
<div class="text-dark fs-6">
|
9
|
+
{subtitle}
|
10
|
+
<slot />
|
11
|
+
</div>
|
9
12
|
</div>
|
10
13
|
|
11
14
|
<style>
|
@@ -6,7 +6,9 @@ export default class SensorWidgetData extends SvelteComponentTyped<{
|
|
6
6
|
subtitle: any;
|
7
7
|
}, {
|
8
8
|
[evt: string]: CustomEvent<any>;
|
9
|
-
}, {
|
9
|
+
}, {
|
10
|
+
default: {};
|
11
|
+
}> {
|
10
12
|
}
|
11
13
|
export type SensorWidgetDataProps = typeof __propDef.props;
|
12
14
|
export type SensorWidgetDataEvents = typeof __propDef.events;
|
@@ -20,6 +22,8 @@ declare const __propDef: {
|
|
20
22
|
events: {
|
21
23
|
[evt: string]: CustomEvent<any>;
|
22
24
|
};
|
23
|
-
slots: {
|
25
|
+
slots: {
|
26
|
+
default: {};
|
27
|
+
};
|
24
28
|
};
|
25
29
|
export {};
|