@enki-tek/fms-web-components 0.1.43 → 0.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Charts/chartColors.js +25 -0
- package/components/WidgetCard/WidgetCard.svelte +1 -1
- package/components/WidgetCard/WidgetCard.svelte.d.ts +2 -0
- package/components/WidgetCard/WidgetCardBody.svelte +3 -3
- package/components/WidgetCard/WidgetCardBody.svelte.d.ts +2 -0
- package/package.json +1 -1
@@ -9,6 +9,31 @@ const colors = [
|
|
9
9
|
"#FFD3B5",
|
10
10
|
"#2D9CDB",
|
11
11
|
"#828282",
|
12
|
+
"#4A90E2",
|
13
|
+
"#7ED321",
|
14
|
+
"#FF6F61",
|
15
|
+
"#B39DDB",
|
16
|
+
"#50E3C2",
|
17
|
+
"#F8E71C",
|
18
|
+
"#FFC0CB",
|
19
|
+
"#98FB98",
|
20
|
+
"#87CEEB",
|
21
|
+
"#D3D3D3",
|
22
|
+
"#FFDAB9",
|
23
|
+
"#FFE680",
|
24
|
+
"#D2B4DE",
|
25
|
+
"#FFFACD",
|
26
|
+
"#008080",
|
27
|
+
"#E0FFFF",
|
28
|
+
"#F5F5DC",
|
29
|
+
"#FFA07A",
|
30
|
+
"#99EDC3",
|
31
|
+
"#E6E6FA",
|
32
|
+
"#CD5C5C",
|
33
|
+
"#A9A9A9",
|
34
|
+
"#8A9A5B",
|
35
|
+
"#6C567B",
|
36
|
+
"#4682B4"
|
12
37
|
];
|
13
38
|
|
14
39
|
export const getChartColors = (number = 1) => {
|
@@ -2,6 +2,7 @@
|
|
2
2
|
/** @typedef {typeof __propDef.events} WidgetCardEvents */
|
3
3
|
/** @typedef {typeof __propDef.slots} WidgetCardSlots */
|
4
4
|
export default class WidgetCard extends SvelteComponentTyped<{
|
5
|
+
[x: string]: any;
|
5
6
|
title: any;
|
6
7
|
resizable?: boolean | undefined;
|
7
8
|
widthOnly?: boolean | undefined;
|
@@ -19,6 +20,7 @@ export type WidgetCardSlots = typeof __propDef.slots;
|
|
19
20
|
import { SvelteComponentTyped } from "svelte";
|
20
21
|
declare const __propDef: {
|
21
22
|
props: {
|
23
|
+
[x: string]: any;
|
22
24
|
title: any;
|
23
25
|
resizable?: boolean | undefined;
|
24
26
|
widthOnly?: boolean | undefined;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<script>
|
2
|
-
export let className =
|
2
|
+
export let className = '';
|
3
3
|
</script>
|
4
4
|
|
5
|
-
<div class="widget-card-body card-height {className}">
|
5
|
+
<div {...$$restProps} class="widget-card-body card-height {className}">
|
6
6
|
<slot />
|
7
7
|
</div>
|
8
8
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
width: 100%;
|
12
12
|
position: relative;
|
13
13
|
}
|
14
|
-
.card-height {
|
14
|
+
.card-height {
|
15
15
|
height: 350px;
|
16
16
|
overflow: auto;
|
17
17
|
}
|
@@ -2,6 +2,7 @@
|
|
2
2
|
/** @typedef {typeof __propDef.events} WidgetCardBodyEvents */
|
3
3
|
/** @typedef {typeof __propDef.slots} WidgetCardBodySlots */
|
4
4
|
export default class WidgetCardBody extends SvelteComponentTyped<{
|
5
|
+
[x: string]: any;
|
5
6
|
className?: string | undefined;
|
6
7
|
}, {
|
7
8
|
[evt: string]: CustomEvent<any>;
|
@@ -15,6 +16,7 @@ export type WidgetCardBodySlots = typeof __propDef.slots;
|
|
15
16
|
import { SvelteComponentTyped } from "svelte";
|
16
17
|
declare const __propDef: {
|
17
18
|
props: {
|
19
|
+
[x: string]: any;
|
18
20
|
className?: string | undefined;
|
19
21
|
};
|
20
22
|
events: {
|