@enki-tek/fms-web-components 0.0.17 → 0.0.19
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/Card/Card.svelte +2 -2
- package/components/EnkiCard/Card.scss +48 -0
- package/components/EnkiCard/CardBody.svelte +71 -0
- package/components/EnkiCard/CardBody.svelte.d.ts +27 -0
- package/components/EnkiCard/CardFooter.svelte +65 -0
- package/components/EnkiCard/CardFooter.svelte.d.ts +27 -0
- package/components/EnkiCard/CardLink.svelte +63 -0
- package/components/EnkiCard/CardLink.svelte.d.ts +27 -0
- package/components/EnkiCard/CardSubTitle.svelte +65 -0
- package/components/EnkiCard/CardSubTitle.svelte.d.ts +27 -0
- package/components/EnkiCard/CardText.svelte +65 -0
- package/components/EnkiCard/CardText.svelte.d.ts +27 -0
- package/components/EnkiCard/CardTitle.svelte +65 -0
- package/components/EnkiCard/CardTitle.svelte.d.ts +27 -0
- package/components/EnkiCard/EnkiCard.svelte +64 -0
- package/components/EnkiCard/EnkiCard.svelte.d.ts +27 -0
- package/components/EnkiTable/EnkiTable.svelte +30 -0
- package/components/EnkiTable/EnkiTable.svelte.d.ts +31 -0
- package/components/EnkiTable/Table.scss +23 -0
- package/components/EnkiTable/TableBody.svelte +22 -0
- package/components/EnkiTable/TableBody.svelte.d.ts +27 -0
- package/components/EnkiTable/TableCell.svelte +28 -0
- package/components/EnkiTable/TableCell.svelte.d.ts +33 -0
- package/components/EnkiTable/TableHead.svelte +22 -0
- package/components/EnkiTable/TableHead.svelte.d.ts +27 -0
- package/components/EnkiTable/TableHeadCell.svelte +27 -0
- package/components/EnkiTable/TableHeadCell.svelte.d.ts +31 -0
- package/components/EnkiTable/TableRow.svelte +22 -0
- package/components/EnkiTable/TableRow.svelte.d.ts +27 -0
- package/index.d.ts +14 -1
- package/index.js +14 -1
- package/package.json +16 -1
@@ -3,8 +3,8 @@
|
|
3
3
|
import { Card, CardBody, CardSubtitle, CardText, CardTitle } from 'sveltestrap';
|
4
4
|
export let image = '';
|
5
5
|
export let width = '35rem';
|
6
|
-
export let text = '
|
7
|
-
export let title = '
|
6
|
+
export let text = ' '
|
7
|
+
export let title = ' ';
|
8
8
|
export let subTitle = '';
|
9
9
|
export let linkName1 = "";
|
10
10
|
export let linkName2 = "";
|
@@ -0,0 +1,48 @@
|
|
1
|
+
@import './../variable.scss';
|
2
|
+
|
3
|
+
@mixin common-font-properties($size, $weight: 400, $line-height: 28px, $style: normal, $family: 'Roboto') {
|
4
|
+
font-size: $size;
|
5
|
+
font-style: $style;
|
6
|
+
font-weight: $weight;
|
7
|
+
line-height: $line-height;
|
8
|
+
font-family: $family;
|
9
|
+
}
|
10
|
+
|
11
|
+
:global(.Card) {
|
12
|
+
display: flex;
|
13
|
+
flex-direction: column;
|
14
|
+
gap: 16px;
|
15
|
+
}
|
16
|
+
|
17
|
+
.title {
|
18
|
+
color: $gray-900;
|
19
|
+
@include common-font-properties(24px, 600, normal);
|
20
|
+
}
|
21
|
+
|
22
|
+
.sub-title {
|
23
|
+
margin-top: 0.5rem;
|
24
|
+
margin-bottom: 0.5rem;
|
25
|
+
@include common-font-properties(16px, 600, normal);
|
26
|
+
color: $secondary;
|
27
|
+
}
|
28
|
+
|
29
|
+
.text {
|
30
|
+
@include common-font-properties(16px);
|
31
|
+
color: $gray-600;
|
32
|
+
}
|
33
|
+
|
34
|
+
.card-link {
|
35
|
+
@include common-font-properties(16px);
|
36
|
+
color: $primary;
|
37
|
+
text-decoration: none;
|
38
|
+
font-family: $bodyFonts;
|
39
|
+
}
|
40
|
+
|
41
|
+
:global(.card-footer){
|
42
|
+
background-color: $white;
|
43
|
+
}
|
44
|
+
|
45
|
+
.footer {
|
46
|
+
@include common-font-properties(16px);
|
47
|
+
font-family: $bodyFonts;
|
48
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
<script>
|
2
|
+
import { CardBody } from 'sveltestrap';
|
3
|
+
export let type = '';
|
4
|
+
const cardType = {
|
5
|
+
loginCard: 'login-card-body'
|
6
|
+
};
|
7
|
+
let tableClasses = [];
|
8
|
+
if (cardType.hasOwnProperty(type)) {
|
9
|
+
tableClasses = [cardType[type]];
|
10
|
+
}
|
11
|
+
</script>
|
12
|
+
|
13
|
+
<CardBody class={tableClasses.join(' ')}>
|
14
|
+
<slot />
|
15
|
+
</CardBody>
|
16
|
+
|
17
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
18
|
+
@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");
|
19
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
20
|
+
:global(.Card) {
|
21
|
+
display: flex;
|
22
|
+
flex-direction: column;
|
23
|
+
gap: 16px;
|
24
|
+
}
|
25
|
+
.title {
|
26
|
+
color: #212529;
|
27
|
+
font-size: 24px;
|
28
|
+
font-style: normal;
|
29
|
+
font-weight: 600;
|
30
|
+
line-height: normal;
|
31
|
+
font-family: "Roboto";
|
32
|
+
}
|
33
|
+
.sub-title {
|
34
|
+
margin-top: 0.5rem;
|
35
|
+
margin-bottom: 0.5rem;
|
36
|
+
font-size: 16px;
|
37
|
+
font-style: normal;
|
38
|
+
font-weight: 600;
|
39
|
+
line-height: normal;
|
40
|
+
font-family: "Roboto";
|
41
|
+
color: #3AC82E;
|
42
|
+
}
|
43
|
+
.text {
|
44
|
+
font-size: 16px;
|
45
|
+
font-style: normal;
|
46
|
+
font-weight: 400;
|
47
|
+
line-height: 28px;
|
48
|
+
font-family: "Roboto";
|
49
|
+
color: #6C757D;
|
50
|
+
}
|
51
|
+
.card-link {
|
52
|
+
font-size: 16px;
|
53
|
+
font-style: normal;
|
54
|
+
font-weight: 400;
|
55
|
+
line-height: 28px;
|
56
|
+
font-family: "Roboto";
|
57
|
+
color: #00AEE5;
|
58
|
+
text-decoration: none;
|
59
|
+
font-family: Roboto;
|
60
|
+
}
|
61
|
+
:global(.card-footer) {
|
62
|
+
background-color: #ffffff;
|
63
|
+
}
|
64
|
+
.footer {
|
65
|
+
font-size: 16px;
|
66
|
+
font-style: normal;
|
67
|
+
font-weight: 400;
|
68
|
+
line-height: 28px;
|
69
|
+
font-family: "Roboto";
|
70
|
+
font-family: Roboto;
|
71
|
+
}</style>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} CardBodyProps */
|
2
|
+
/** @typedef {typeof __propDef.events} CardBodyEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} CardBodySlots */
|
4
|
+
export default class CardBody extends SvelteComponentTyped<{
|
5
|
+
type?: string | undefined;
|
6
|
+
}, {
|
7
|
+
[evt: string]: CustomEvent<any>;
|
8
|
+
}, {
|
9
|
+
default: {};
|
10
|
+
}> {
|
11
|
+
}
|
12
|
+
export type CardBodyProps = typeof __propDef.props;
|
13
|
+
export type CardBodyEvents = typeof __propDef.events;
|
14
|
+
export type CardBodySlots = typeof __propDef.slots;
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
16
|
+
declare const __propDef: {
|
17
|
+
props: {
|
18
|
+
type?: string | undefined;
|
19
|
+
};
|
20
|
+
events: {
|
21
|
+
[evt: string]: CustomEvent<any>;
|
22
|
+
};
|
23
|
+
slots: {
|
24
|
+
default: {};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export {};
|
@@ -0,0 +1,65 @@
|
|
1
|
+
<script>
|
2
|
+
import { CardFooter } from 'sveltestrap';
|
3
|
+
</script>
|
4
|
+
|
5
|
+
<CardFooter>
|
6
|
+
<div class="footer">
|
7
|
+
<slot />
|
8
|
+
</div>
|
9
|
+
</CardFooter>
|
10
|
+
|
11
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
12
|
+
@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");
|
13
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
14
|
+
:global(.Card) {
|
15
|
+
display: flex;
|
16
|
+
flex-direction: column;
|
17
|
+
gap: 16px;
|
18
|
+
}
|
19
|
+
.title {
|
20
|
+
color: #212529;
|
21
|
+
font-size: 24px;
|
22
|
+
font-style: normal;
|
23
|
+
font-weight: 600;
|
24
|
+
line-height: normal;
|
25
|
+
font-family: "Roboto";
|
26
|
+
}
|
27
|
+
.sub-title {
|
28
|
+
margin-top: 0.5rem;
|
29
|
+
margin-bottom: 0.5rem;
|
30
|
+
font-size: 16px;
|
31
|
+
font-style: normal;
|
32
|
+
font-weight: 600;
|
33
|
+
line-height: normal;
|
34
|
+
font-family: "Roboto";
|
35
|
+
color: #3AC82E;
|
36
|
+
}
|
37
|
+
.text {
|
38
|
+
font-size: 16px;
|
39
|
+
font-style: normal;
|
40
|
+
font-weight: 400;
|
41
|
+
line-height: 28px;
|
42
|
+
font-family: "Roboto";
|
43
|
+
color: #6C757D;
|
44
|
+
}
|
45
|
+
.card-link {
|
46
|
+
font-size: 16px;
|
47
|
+
font-style: normal;
|
48
|
+
font-weight: 400;
|
49
|
+
line-height: 28px;
|
50
|
+
font-family: "Roboto";
|
51
|
+
color: #00AEE5;
|
52
|
+
text-decoration: none;
|
53
|
+
font-family: Roboto;
|
54
|
+
}
|
55
|
+
:global(.card-footer) {
|
56
|
+
background-color: #ffffff;
|
57
|
+
}
|
58
|
+
.footer {
|
59
|
+
font-size: 16px;
|
60
|
+
font-style: normal;
|
61
|
+
font-weight: 400;
|
62
|
+
line-height: 28px;
|
63
|
+
font-family: "Roboto";
|
64
|
+
font-family: Roboto;
|
65
|
+
}</style>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} CardFooterProps */
|
2
|
+
/** @typedef {typeof __propDef.events} CardFooterEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} CardFooterSlots */
|
4
|
+
export default class CardFooter extends SvelteComponentTyped<{
|
5
|
+
[x: string]: never;
|
6
|
+
}, {
|
7
|
+
[evt: string]: CustomEvent<any>;
|
8
|
+
}, {
|
9
|
+
default: {};
|
10
|
+
}> {
|
11
|
+
}
|
12
|
+
export type CardFooterProps = typeof __propDef.props;
|
13
|
+
export type CardFooterEvents = typeof __propDef.events;
|
14
|
+
export type CardFooterSlots = typeof __propDef.slots;
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
16
|
+
declare const __propDef: {
|
17
|
+
props: {
|
18
|
+
[x: string]: never;
|
19
|
+
};
|
20
|
+
events: {
|
21
|
+
[evt: string]: CustomEvent<any>;
|
22
|
+
};
|
23
|
+
slots: {
|
24
|
+
default: {};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export {};
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<script>
|
2
|
+
export let link = '';
|
3
|
+
</script>
|
4
|
+
|
5
|
+
<a href={link} class="card-link">
|
6
|
+
<slot />
|
7
|
+
</a>
|
8
|
+
|
9
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
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");
|
11
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
12
|
+
:global(.Card) {
|
13
|
+
display: flex;
|
14
|
+
flex-direction: column;
|
15
|
+
gap: 16px;
|
16
|
+
}
|
17
|
+
.title {
|
18
|
+
color: #212529;
|
19
|
+
font-size: 24px;
|
20
|
+
font-style: normal;
|
21
|
+
font-weight: 600;
|
22
|
+
line-height: normal;
|
23
|
+
font-family: "Roboto";
|
24
|
+
}
|
25
|
+
.sub-title {
|
26
|
+
margin-top: 0.5rem;
|
27
|
+
margin-bottom: 0.5rem;
|
28
|
+
font-size: 16px;
|
29
|
+
font-style: normal;
|
30
|
+
font-weight: 600;
|
31
|
+
line-height: normal;
|
32
|
+
font-family: "Roboto";
|
33
|
+
color: #3AC82E;
|
34
|
+
}
|
35
|
+
.text {
|
36
|
+
font-size: 16px;
|
37
|
+
font-style: normal;
|
38
|
+
font-weight: 400;
|
39
|
+
line-height: 28px;
|
40
|
+
font-family: "Roboto";
|
41
|
+
color: #6C757D;
|
42
|
+
}
|
43
|
+
.card-link {
|
44
|
+
font-size: 16px;
|
45
|
+
font-style: normal;
|
46
|
+
font-weight: 400;
|
47
|
+
line-height: 28px;
|
48
|
+
font-family: "Roboto";
|
49
|
+
color: #00AEE5;
|
50
|
+
text-decoration: none;
|
51
|
+
font-family: Roboto;
|
52
|
+
}
|
53
|
+
:global(.card-footer) {
|
54
|
+
background-color: #ffffff;
|
55
|
+
}
|
56
|
+
.footer {
|
57
|
+
font-size: 16px;
|
58
|
+
font-style: normal;
|
59
|
+
font-weight: 400;
|
60
|
+
line-height: 28px;
|
61
|
+
font-family: "Roboto";
|
62
|
+
font-family: Roboto;
|
63
|
+
}</style>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} CardLinkProps */
|
2
|
+
/** @typedef {typeof __propDef.events} CardLinkEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} CardLinkSlots */
|
4
|
+
export default class CardLink extends SvelteComponentTyped<{
|
5
|
+
link?: string | undefined;
|
6
|
+
}, {
|
7
|
+
[evt: string]: CustomEvent<any>;
|
8
|
+
}, {
|
9
|
+
default: {};
|
10
|
+
}> {
|
11
|
+
}
|
12
|
+
export type CardLinkProps = typeof __propDef.props;
|
13
|
+
export type CardLinkEvents = typeof __propDef.events;
|
14
|
+
export type CardLinkSlots = typeof __propDef.slots;
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
16
|
+
declare const __propDef: {
|
17
|
+
props: {
|
18
|
+
link?: string | undefined;
|
19
|
+
};
|
20
|
+
events: {
|
21
|
+
[evt: string]: CustomEvent<any>;
|
22
|
+
};
|
23
|
+
slots: {
|
24
|
+
default: {};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export {};
|
@@ -0,0 +1,65 @@
|
|
1
|
+
<script>
|
2
|
+
import { CardSubtitle } from 'sveltestrap';
|
3
|
+
</script>
|
4
|
+
|
5
|
+
<CardSubtitle>
|
6
|
+
<div class="sub-title">
|
7
|
+
<slot />
|
8
|
+
</div>
|
9
|
+
</CardSubtitle>
|
10
|
+
|
11
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
12
|
+
@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");
|
13
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
14
|
+
:global(.Card) {
|
15
|
+
display: flex;
|
16
|
+
flex-direction: column;
|
17
|
+
gap: 16px;
|
18
|
+
}
|
19
|
+
.title {
|
20
|
+
color: #212529;
|
21
|
+
font-size: 24px;
|
22
|
+
font-style: normal;
|
23
|
+
font-weight: 600;
|
24
|
+
line-height: normal;
|
25
|
+
font-family: "Roboto";
|
26
|
+
}
|
27
|
+
.sub-title {
|
28
|
+
margin-top: 0.5rem;
|
29
|
+
margin-bottom: 0.5rem;
|
30
|
+
font-size: 16px;
|
31
|
+
font-style: normal;
|
32
|
+
font-weight: 600;
|
33
|
+
line-height: normal;
|
34
|
+
font-family: "Roboto";
|
35
|
+
color: #3AC82E;
|
36
|
+
}
|
37
|
+
.text {
|
38
|
+
font-size: 16px;
|
39
|
+
font-style: normal;
|
40
|
+
font-weight: 400;
|
41
|
+
line-height: 28px;
|
42
|
+
font-family: "Roboto";
|
43
|
+
color: #6C757D;
|
44
|
+
}
|
45
|
+
.card-link {
|
46
|
+
font-size: 16px;
|
47
|
+
font-style: normal;
|
48
|
+
font-weight: 400;
|
49
|
+
line-height: 28px;
|
50
|
+
font-family: "Roboto";
|
51
|
+
color: #00AEE5;
|
52
|
+
text-decoration: none;
|
53
|
+
font-family: Roboto;
|
54
|
+
}
|
55
|
+
:global(.card-footer) {
|
56
|
+
background-color: #ffffff;
|
57
|
+
}
|
58
|
+
.footer {
|
59
|
+
font-size: 16px;
|
60
|
+
font-style: normal;
|
61
|
+
font-weight: 400;
|
62
|
+
line-height: 28px;
|
63
|
+
font-family: "Roboto";
|
64
|
+
font-family: Roboto;
|
65
|
+
}</style>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} CardSubTitleProps */
|
2
|
+
/** @typedef {typeof __propDef.events} CardSubTitleEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} CardSubTitleSlots */
|
4
|
+
export default class CardSubTitle extends SvelteComponentTyped<{
|
5
|
+
[x: string]: never;
|
6
|
+
}, {
|
7
|
+
[evt: string]: CustomEvent<any>;
|
8
|
+
}, {
|
9
|
+
default: {};
|
10
|
+
}> {
|
11
|
+
}
|
12
|
+
export type CardSubTitleProps = typeof __propDef.props;
|
13
|
+
export type CardSubTitleEvents = typeof __propDef.events;
|
14
|
+
export type CardSubTitleSlots = typeof __propDef.slots;
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
16
|
+
declare const __propDef: {
|
17
|
+
props: {
|
18
|
+
[x: string]: never;
|
19
|
+
};
|
20
|
+
events: {
|
21
|
+
[evt: string]: CustomEvent<any>;
|
22
|
+
};
|
23
|
+
slots: {
|
24
|
+
default: {};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export {};
|
@@ -0,0 +1,65 @@
|
|
1
|
+
<script>
|
2
|
+
import { CardText } from 'sveltestrap';
|
3
|
+
</script>
|
4
|
+
|
5
|
+
<CardText>
|
6
|
+
<div class="text">
|
7
|
+
<slot />
|
8
|
+
</div>
|
9
|
+
</CardText>
|
10
|
+
|
11
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
12
|
+
@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");
|
13
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
14
|
+
:global(.Card) {
|
15
|
+
display: flex;
|
16
|
+
flex-direction: column;
|
17
|
+
gap: 16px;
|
18
|
+
}
|
19
|
+
.title {
|
20
|
+
color: #212529;
|
21
|
+
font-size: 24px;
|
22
|
+
font-style: normal;
|
23
|
+
font-weight: 600;
|
24
|
+
line-height: normal;
|
25
|
+
font-family: "Roboto";
|
26
|
+
}
|
27
|
+
.sub-title {
|
28
|
+
margin-top: 0.5rem;
|
29
|
+
margin-bottom: 0.5rem;
|
30
|
+
font-size: 16px;
|
31
|
+
font-style: normal;
|
32
|
+
font-weight: 600;
|
33
|
+
line-height: normal;
|
34
|
+
font-family: "Roboto";
|
35
|
+
color: #3AC82E;
|
36
|
+
}
|
37
|
+
.text {
|
38
|
+
font-size: 16px;
|
39
|
+
font-style: normal;
|
40
|
+
font-weight: 400;
|
41
|
+
line-height: 28px;
|
42
|
+
font-family: "Roboto";
|
43
|
+
color: #6C757D;
|
44
|
+
}
|
45
|
+
.card-link {
|
46
|
+
font-size: 16px;
|
47
|
+
font-style: normal;
|
48
|
+
font-weight: 400;
|
49
|
+
line-height: 28px;
|
50
|
+
font-family: "Roboto";
|
51
|
+
color: #00AEE5;
|
52
|
+
text-decoration: none;
|
53
|
+
font-family: Roboto;
|
54
|
+
}
|
55
|
+
:global(.card-footer) {
|
56
|
+
background-color: #ffffff;
|
57
|
+
}
|
58
|
+
.footer {
|
59
|
+
font-size: 16px;
|
60
|
+
font-style: normal;
|
61
|
+
font-weight: 400;
|
62
|
+
line-height: 28px;
|
63
|
+
font-family: "Roboto";
|
64
|
+
font-family: Roboto;
|
65
|
+
}</style>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} CardTextProps */
|
2
|
+
/** @typedef {typeof __propDef.events} CardTextEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} CardTextSlots */
|
4
|
+
export default class CardText extends SvelteComponentTyped<{
|
5
|
+
[x: string]: never;
|
6
|
+
}, {
|
7
|
+
[evt: string]: CustomEvent<any>;
|
8
|
+
}, {
|
9
|
+
default: {};
|
10
|
+
}> {
|
11
|
+
}
|
12
|
+
export type CardTextProps = typeof __propDef.props;
|
13
|
+
export type CardTextEvents = typeof __propDef.events;
|
14
|
+
export type CardTextSlots = typeof __propDef.slots;
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
16
|
+
declare const __propDef: {
|
17
|
+
props: {
|
18
|
+
[x: string]: never;
|
19
|
+
};
|
20
|
+
events: {
|
21
|
+
[evt: string]: CustomEvent<any>;
|
22
|
+
};
|
23
|
+
slots: {
|
24
|
+
default: {};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export {};
|
@@ -0,0 +1,65 @@
|
|
1
|
+
<script>
|
2
|
+
import { CardTitle } from 'sveltestrap';
|
3
|
+
</script>
|
4
|
+
|
5
|
+
<CardTitle>
|
6
|
+
<div class="title">
|
7
|
+
<slot />
|
8
|
+
</div>
|
9
|
+
</CardTitle>
|
10
|
+
|
11
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
12
|
+
@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");
|
13
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
14
|
+
:global(.Card) {
|
15
|
+
display: flex;
|
16
|
+
flex-direction: column;
|
17
|
+
gap: 16px;
|
18
|
+
}
|
19
|
+
.title {
|
20
|
+
color: #212529;
|
21
|
+
font-size: 24px;
|
22
|
+
font-style: normal;
|
23
|
+
font-weight: 600;
|
24
|
+
line-height: normal;
|
25
|
+
font-family: "Roboto";
|
26
|
+
}
|
27
|
+
.sub-title {
|
28
|
+
margin-top: 0.5rem;
|
29
|
+
margin-bottom: 0.5rem;
|
30
|
+
font-size: 16px;
|
31
|
+
font-style: normal;
|
32
|
+
font-weight: 600;
|
33
|
+
line-height: normal;
|
34
|
+
font-family: "Roboto";
|
35
|
+
color: #3AC82E;
|
36
|
+
}
|
37
|
+
.text {
|
38
|
+
font-size: 16px;
|
39
|
+
font-style: normal;
|
40
|
+
font-weight: 400;
|
41
|
+
line-height: 28px;
|
42
|
+
font-family: "Roboto";
|
43
|
+
color: #6C757D;
|
44
|
+
}
|
45
|
+
.card-link {
|
46
|
+
font-size: 16px;
|
47
|
+
font-style: normal;
|
48
|
+
font-weight: 400;
|
49
|
+
line-height: 28px;
|
50
|
+
font-family: "Roboto";
|
51
|
+
color: #00AEE5;
|
52
|
+
text-decoration: none;
|
53
|
+
font-family: Roboto;
|
54
|
+
}
|
55
|
+
:global(.card-footer) {
|
56
|
+
background-color: #ffffff;
|
57
|
+
}
|
58
|
+
.footer {
|
59
|
+
font-size: 16px;
|
60
|
+
font-style: normal;
|
61
|
+
font-weight: 400;
|
62
|
+
line-height: 28px;
|
63
|
+
font-family: "Roboto";
|
64
|
+
font-family: Roboto;
|
65
|
+
}</style>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} CardTitleProps */
|
2
|
+
/** @typedef {typeof __propDef.events} CardTitleEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} CardTitleSlots */
|
4
|
+
export default class CardTitle extends SvelteComponentTyped<{
|
5
|
+
[x: string]: never;
|
6
|
+
}, {
|
7
|
+
[evt: string]: CustomEvent<any>;
|
8
|
+
}, {
|
9
|
+
default: {};
|
10
|
+
}> {
|
11
|
+
}
|
12
|
+
export type CardTitleProps = typeof __propDef.props;
|
13
|
+
export type CardTitleEvents = typeof __propDef.events;
|
14
|
+
export type CardTitleSlots = typeof __propDef.slots;
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
16
|
+
declare const __propDef: {
|
17
|
+
props: {
|
18
|
+
[x: string]: never;
|
19
|
+
};
|
20
|
+
events: {
|
21
|
+
[evt: string]: CustomEvent<any>;
|
22
|
+
};
|
23
|
+
slots: {
|
24
|
+
default: {};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export {};
|
@@ -0,0 +1,64 @@
|
|
1
|
+
<script>
|
2
|
+
import { Card } from 'sveltestrap';
|
3
|
+
export let width = '35rem';
|
4
|
+
</script>
|
5
|
+
|
6
|
+
<Card style={`width:${width};`}>
|
7
|
+
<slot />
|
8
|
+
</Card>
|
9
|
+
|
10
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
11
|
+
@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");
|
12
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
13
|
+
:global(.Card) {
|
14
|
+
display: flex;
|
15
|
+
flex-direction: column;
|
16
|
+
gap: 16px;
|
17
|
+
}
|
18
|
+
.title {
|
19
|
+
color: #212529;
|
20
|
+
font-size: 24px;
|
21
|
+
font-style: normal;
|
22
|
+
font-weight: 600;
|
23
|
+
line-height: normal;
|
24
|
+
font-family: "Roboto";
|
25
|
+
}
|
26
|
+
.sub-title {
|
27
|
+
margin-top: 0.5rem;
|
28
|
+
margin-bottom: 0.5rem;
|
29
|
+
font-size: 16px;
|
30
|
+
font-style: normal;
|
31
|
+
font-weight: 600;
|
32
|
+
line-height: normal;
|
33
|
+
font-family: "Roboto";
|
34
|
+
color: #3AC82E;
|
35
|
+
}
|
36
|
+
.text {
|
37
|
+
font-size: 16px;
|
38
|
+
font-style: normal;
|
39
|
+
font-weight: 400;
|
40
|
+
line-height: 28px;
|
41
|
+
font-family: "Roboto";
|
42
|
+
color: #6C757D;
|
43
|
+
}
|
44
|
+
.card-link {
|
45
|
+
font-size: 16px;
|
46
|
+
font-style: normal;
|
47
|
+
font-weight: 400;
|
48
|
+
line-height: 28px;
|
49
|
+
font-family: "Roboto";
|
50
|
+
color: #00AEE5;
|
51
|
+
text-decoration: none;
|
52
|
+
font-family: Roboto;
|
53
|
+
}
|
54
|
+
:global(.card-footer) {
|
55
|
+
background-color: #ffffff;
|
56
|
+
}
|
57
|
+
.footer {
|
58
|
+
font-size: 16px;
|
59
|
+
font-style: normal;
|
60
|
+
font-weight: 400;
|
61
|
+
line-height: 28px;
|
62
|
+
font-family: "Roboto";
|
63
|
+
font-family: Roboto;
|
64
|
+
}</style>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} EnkiCardProps */
|
2
|
+
/** @typedef {typeof __propDef.events} EnkiCardEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} EnkiCardSlots */
|
4
|
+
export default class EnkiCard extends SvelteComponentTyped<{
|
5
|
+
width?: string | undefined;
|
6
|
+
}, {
|
7
|
+
[evt: string]: CustomEvent<any>;
|
8
|
+
}, {
|
9
|
+
default: {};
|
10
|
+
}> {
|
11
|
+
}
|
12
|
+
export type EnkiCardProps = typeof __propDef.props;
|
13
|
+
export type EnkiCardEvents = typeof __propDef.events;
|
14
|
+
export type EnkiCardSlots = typeof __propDef.slots;
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
16
|
+
declare const __propDef: {
|
17
|
+
props: {
|
18
|
+
width?: string | undefined;
|
19
|
+
};
|
20
|
+
events: {
|
21
|
+
[evt: string]: CustomEvent<any>;
|
22
|
+
};
|
23
|
+
slots: {
|
24
|
+
default: {};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export {};
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<script>
|
2
|
+
import { Table } from 'sveltestrap';
|
3
|
+
export let size = "lg"
|
4
|
+
export let hover = ' ';
|
5
|
+
export let striped =' ';
|
6
|
+
let tableStyles = ["table" , `table-${hover}` , `table-${striped}`]
|
7
|
+
</script>
|
8
|
+
|
9
|
+
<Table size = {size} class={tableStyles.join(' ')}>
|
10
|
+
<slot />
|
11
|
+
</Table>
|
12
|
+
|
13
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
14
|
+
@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");
|
15
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
16
|
+
.td-div, .th-div {
|
17
|
+
color: #152536;
|
18
|
+
font-size: 16px;
|
19
|
+
font-style: normal;
|
20
|
+
font-weight: 700;
|
21
|
+
font-family: Roboto;
|
22
|
+
}
|
23
|
+
.th-div {
|
24
|
+
font-size: 17px;
|
25
|
+
}
|
26
|
+
.td-div {
|
27
|
+
width: 12.5rem;
|
28
|
+
padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
|
29
|
+
font-weight: 400;
|
30
|
+
}</style>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} EnkiTableProps */
|
2
|
+
/** @typedef {typeof __propDef.events} EnkiTableEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} EnkiTableSlots */
|
4
|
+
export default class EnkiTable extends SvelteComponentTyped<{
|
5
|
+
size?: string | undefined;
|
6
|
+
hover?: string | undefined;
|
7
|
+
striped?: string | undefined;
|
8
|
+
}, {
|
9
|
+
[evt: string]: CustomEvent<any>;
|
10
|
+
}, {
|
11
|
+
default: {};
|
12
|
+
}> {
|
13
|
+
}
|
14
|
+
export type EnkiTableProps = typeof __propDef.props;
|
15
|
+
export type EnkiTableEvents = typeof __propDef.events;
|
16
|
+
export type EnkiTableSlots = typeof __propDef.slots;
|
17
|
+
import { SvelteComponentTyped } from "svelte";
|
18
|
+
declare const __propDef: {
|
19
|
+
props: {
|
20
|
+
size?: string | undefined;
|
21
|
+
hover?: string | undefined;
|
22
|
+
striped?: string | undefined;
|
23
|
+
};
|
24
|
+
events: {
|
25
|
+
[evt: string]: CustomEvent<any>;
|
26
|
+
};
|
27
|
+
slots: {
|
28
|
+
default: {};
|
29
|
+
};
|
30
|
+
};
|
31
|
+
export {};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
@import './../variable.scss';
|
2
|
+
|
3
|
+
%common-fonts {
|
4
|
+
color: $Title-Color;
|
5
|
+
font-size: 16px;
|
6
|
+
font-style: normal;
|
7
|
+
font-weight: 700;
|
8
|
+
font-family: $bodyFonts;
|
9
|
+
}
|
10
|
+
|
11
|
+
.th-div {
|
12
|
+
@extend %common-fonts;
|
13
|
+
font-size: 17px;
|
14
|
+
}
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
.td-div {
|
19
|
+
width: 12.5rem;
|
20
|
+
padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
|
21
|
+
@extend %common-fonts;
|
22
|
+
font-weight: 400;
|
23
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<tbody>
|
2
|
+
<slot />
|
3
|
+
</tbody>
|
4
|
+
|
5
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
6
|
+
@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");
|
7
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
8
|
+
.td-div, .th-div {
|
9
|
+
color: #152536;
|
10
|
+
font-size: 16px;
|
11
|
+
font-style: normal;
|
12
|
+
font-weight: 700;
|
13
|
+
font-family: Roboto;
|
14
|
+
}
|
15
|
+
.th-div {
|
16
|
+
font-size: 17px;
|
17
|
+
}
|
18
|
+
.td-div {
|
19
|
+
width: 12.5rem;
|
20
|
+
padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
|
21
|
+
font-weight: 400;
|
22
|
+
}</style>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} TableBodyProps */
|
2
|
+
/** @typedef {typeof __propDef.events} TableBodyEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} TableBodySlots */
|
4
|
+
export default class TableBody extends SvelteComponentTyped<{
|
5
|
+
[x: string]: never;
|
6
|
+
}, {
|
7
|
+
[evt: string]: CustomEvent<any>;
|
8
|
+
}, {
|
9
|
+
default: {};
|
10
|
+
}> {
|
11
|
+
}
|
12
|
+
export type TableBodyProps = typeof __propDef.props;
|
13
|
+
export type TableBodyEvents = typeof __propDef.events;
|
14
|
+
export type TableBodySlots = typeof __propDef.slots;
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
16
|
+
declare const __propDef: {
|
17
|
+
props: {
|
18
|
+
[x: string]: never;
|
19
|
+
};
|
20
|
+
events: {
|
21
|
+
[evt: string]: CustomEvent<any>;
|
22
|
+
};
|
23
|
+
slots: {
|
24
|
+
default: {};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export {};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<script>
|
2
|
+
export let dataLabel = " ";
|
3
|
+
export let colspan = 1;
|
4
|
+
export let rowspan = 1 ;
|
5
|
+
export let textAlign =' ';
|
6
|
+
let tdStyles = ['td-div', `text-${textAlign}`]
|
7
|
+
</script>
|
8
|
+
|
9
|
+
<td data-label ={dataLabel} colspan={colspan} rowspan={rowspan} class={tdStyles.join(' ')} ><slot /></td>
|
10
|
+
|
11
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
12
|
+
@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");
|
13
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
14
|
+
.td-div, .th-div {
|
15
|
+
color: #152536;
|
16
|
+
font-size: 16px;
|
17
|
+
font-style: normal;
|
18
|
+
font-weight: 700;
|
19
|
+
font-family: Roboto;
|
20
|
+
}
|
21
|
+
.th-div {
|
22
|
+
font-size: 17px;
|
23
|
+
}
|
24
|
+
.td-div {
|
25
|
+
width: 12.5rem;
|
26
|
+
padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
|
27
|
+
font-weight: 400;
|
28
|
+
}</style>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} TableCellProps */
|
2
|
+
/** @typedef {typeof __propDef.events} TableCellEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} TableCellSlots */
|
4
|
+
export default class TableCell extends SvelteComponentTyped<{
|
5
|
+
colspan?: number | undefined;
|
6
|
+
rowspan?: number | undefined;
|
7
|
+
textAlign?: string | undefined;
|
8
|
+
dataLabel?: string | undefined;
|
9
|
+
}, {
|
10
|
+
[evt: string]: CustomEvent<any>;
|
11
|
+
}, {
|
12
|
+
default: {};
|
13
|
+
}> {
|
14
|
+
}
|
15
|
+
export type TableCellProps = typeof __propDef.props;
|
16
|
+
export type TableCellEvents = typeof __propDef.events;
|
17
|
+
export type TableCellSlots = typeof __propDef.slots;
|
18
|
+
import { SvelteComponentTyped } from "svelte";
|
19
|
+
declare const __propDef: {
|
20
|
+
props: {
|
21
|
+
colspan?: number | undefined;
|
22
|
+
rowspan?: number | undefined;
|
23
|
+
textAlign?: string | undefined;
|
24
|
+
dataLabel?: string | undefined;
|
25
|
+
};
|
26
|
+
events: {
|
27
|
+
[evt: string]: CustomEvent<any>;
|
28
|
+
};
|
29
|
+
slots: {
|
30
|
+
default: {};
|
31
|
+
};
|
32
|
+
};
|
33
|
+
export {};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<thead>
|
2
|
+
<slot />
|
3
|
+
</thead>
|
4
|
+
|
5
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
6
|
+
@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");
|
7
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
8
|
+
.td-div, .th-div {
|
9
|
+
color: #152536;
|
10
|
+
font-size: 16px;
|
11
|
+
font-style: normal;
|
12
|
+
font-weight: 700;
|
13
|
+
font-family: Roboto;
|
14
|
+
}
|
15
|
+
.th-div {
|
16
|
+
font-size: 17px;
|
17
|
+
}
|
18
|
+
.td-div {
|
19
|
+
width: 12.5rem;
|
20
|
+
padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
|
21
|
+
font-weight: 400;
|
22
|
+
}</style>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} TableHeadProps */
|
2
|
+
/** @typedef {typeof __propDef.events} TableHeadEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} TableHeadSlots */
|
4
|
+
export default class TableHead extends SvelteComponentTyped<{
|
5
|
+
[x: string]: never;
|
6
|
+
}, {
|
7
|
+
[evt: string]: CustomEvent<any>;
|
8
|
+
}, {
|
9
|
+
default: {};
|
10
|
+
}> {
|
11
|
+
}
|
12
|
+
export type TableHeadProps = typeof __propDef.props;
|
13
|
+
export type TableHeadEvents = typeof __propDef.events;
|
14
|
+
export type TableHeadSlots = typeof __propDef.slots;
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
16
|
+
declare const __propDef: {
|
17
|
+
props: {
|
18
|
+
[x: string]: never;
|
19
|
+
};
|
20
|
+
events: {
|
21
|
+
[evt: string]: CustomEvent<any>;
|
22
|
+
};
|
23
|
+
slots: {
|
24
|
+
default: {};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export {};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<script>
|
2
|
+
export let colspan = 1;
|
3
|
+
export let rowspan = 1;
|
4
|
+
export let textAlign = ' ';
|
5
|
+
let tdStyles = ['th-div', `text-${textAlign}`];
|
6
|
+
</script>
|
7
|
+
|
8
|
+
<th colspan={colspan} rowspan={rowspan} class={tdStyles.join(' ')}><slot /></th>
|
9
|
+
|
10
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
11
|
+
@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");
|
12
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
13
|
+
.td-div, .th-div {
|
14
|
+
color: #152536;
|
15
|
+
font-size: 16px;
|
16
|
+
font-style: normal;
|
17
|
+
font-weight: 700;
|
18
|
+
font-family: Roboto;
|
19
|
+
}
|
20
|
+
.th-div {
|
21
|
+
font-size: 17px;
|
22
|
+
}
|
23
|
+
.td-div {
|
24
|
+
width: 12.5rem;
|
25
|
+
padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
|
26
|
+
font-weight: 400;
|
27
|
+
}</style>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} TableHeadCellProps */
|
2
|
+
/** @typedef {typeof __propDef.events} TableHeadCellEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} TableHeadCellSlots */
|
4
|
+
export default class TableHeadCell extends SvelteComponentTyped<{
|
5
|
+
colspan?: number | undefined;
|
6
|
+
rowspan?: number | undefined;
|
7
|
+
textAlign?: string | undefined;
|
8
|
+
}, {
|
9
|
+
[evt: string]: CustomEvent<any>;
|
10
|
+
}, {
|
11
|
+
default: {};
|
12
|
+
}> {
|
13
|
+
}
|
14
|
+
export type TableHeadCellProps = typeof __propDef.props;
|
15
|
+
export type TableHeadCellEvents = typeof __propDef.events;
|
16
|
+
export type TableHeadCellSlots = typeof __propDef.slots;
|
17
|
+
import { SvelteComponentTyped } from "svelte";
|
18
|
+
declare const __propDef: {
|
19
|
+
props: {
|
20
|
+
colspan?: number | undefined;
|
21
|
+
rowspan?: number | undefined;
|
22
|
+
textAlign?: string | undefined;
|
23
|
+
};
|
24
|
+
events: {
|
25
|
+
[evt: string]: CustomEvent<any>;
|
26
|
+
};
|
27
|
+
slots: {
|
28
|
+
default: {};
|
29
|
+
};
|
30
|
+
};
|
31
|
+
export {};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
2
|
+
@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
|
+
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
4
|
+
.td-div, .th-div {
|
5
|
+
color: #152536;
|
6
|
+
font-size: 16px;
|
7
|
+
font-style: normal;
|
8
|
+
font-weight: 700;
|
9
|
+
font-family: Roboto;
|
10
|
+
}
|
11
|
+
.th-div {
|
12
|
+
font-size: 17px;
|
13
|
+
}
|
14
|
+
.td-div {
|
15
|
+
width: 12.5rem;
|
16
|
+
padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
|
17
|
+
font-weight: 400;
|
18
|
+
}</style>
|
19
|
+
|
20
|
+
<tr>
|
21
|
+
<slot></slot>
|
22
|
+
</tr>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/** @typedef {typeof __propDef.props} TableRowProps */
|
2
|
+
/** @typedef {typeof __propDef.events} TableRowEvents */
|
3
|
+
/** @typedef {typeof __propDef.slots} TableRowSlots */
|
4
|
+
export default class TableRow extends SvelteComponentTyped<{
|
5
|
+
[x: string]: never;
|
6
|
+
}, {
|
7
|
+
[evt: string]: CustomEvent<any>;
|
8
|
+
}, {
|
9
|
+
default: {};
|
10
|
+
}> {
|
11
|
+
}
|
12
|
+
export type TableRowProps = typeof __propDef.props;
|
13
|
+
export type TableRowEvents = typeof __propDef.events;
|
14
|
+
export type TableRowSlots = typeof __propDef.slots;
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
16
|
+
declare const __propDef: {
|
17
|
+
props: {
|
18
|
+
[x: string]: never;
|
19
|
+
};
|
20
|
+
events: {
|
21
|
+
[evt: string]: CustomEvent<any>;
|
22
|
+
};
|
23
|
+
slots: {
|
24
|
+
default: {};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export {};
|
package/index.d.ts
CHANGED
@@ -22,5 +22,18 @@ import Checkbox from './components/CheckBox/Checkbox.svelte';
|
|
22
22
|
import Breadcrumb from './components/Breadcrumb/Breadcrumb.svelte';
|
23
23
|
import Accordion from './components/Accordion/Accordion.svelte';
|
24
24
|
import CardIcon from './components/CardIcon/CardIcon.svelte';
|
25
|
-
|
25
|
+
import EnkiTable from './components/EnkiTable/EnkiTable.svelte';
|
26
|
+
import TableBody from './components/EnkiTable/TableBody.svelte';
|
27
|
+
import TableHead from './components/EnkiTable/TableHead.svelte';
|
28
|
+
import TableHeadCell from './components/EnkiTable/TableHeadCell.svelte';
|
29
|
+
import TableRow from './components/EnkiTable/TableRow.svelte';
|
30
|
+
import TableCell from './components/EnkiTable/TableCell.svelte';
|
31
|
+
import EnkiCard from './components/EnkiCard/EnkiCard.svelte';
|
32
|
+
import CardTitle from './components/EnkiCard/CardTitle.svelte';
|
33
|
+
import CardSubtitle from './components/EnkiCard/CardSubTitle.svelte';
|
34
|
+
import CardText from './components/EnkiCard/CardText.svelte';
|
35
|
+
import CardBody from './components/EnkiCard/CardBody.svelte';
|
36
|
+
import CardFooter from './components/EnkiCard/CardFooter.svelte';
|
37
|
+
import CardLink from './components/EnkiCard/CardLink.svelte';
|
38
|
+
export { Button, TextField, Card, Tooltip, Tab, Icon, Modal, ModalBody, ModalFooter, ModalHeader, Header, Dropdown, DropdownItem, Badge, Alert, Pagination, RadioButton, Accordion, Switch, Checkbox, Breadcrumb, CardIcon, EnkiTable, TableBody, TableCell, TableRow, TableHead, TableHeadCell, EnkiCard, CardBody, CardTitle, CardSubtitle, CardText, CardLink, CardFooter };
|
26
39
|
export default Layout;
|
package/index.js
CHANGED
@@ -23,5 +23,18 @@ import Checkbox from './components/CheckBox/Checkbox.svelte';
|
|
23
23
|
import Breadcrumb from './components/Breadcrumb/Breadcrumb.svelte';
|
24
24
|
import Accordion from './components/Accordion/Accordion.svelte';
|
25
25
|
import CardIcon from './components/CardIcon/CardIcon.svelte';
|
26
|
-
|
26
|
+
import EnkiTable from './components/EnkiTable/EnkiTable.svelte';
|
27
|
+
import TableBody from './components/EnkiTable/TableBody.svelte';
|
28
|
+
import TableHead from './components/EnkiTable/TableHead.svelte';
|
29
|
+
import TableHeadCell from './components/EnkiTable/TableHeadCell.svelte';
|
30
|
+
import TableRow from './components/EnkiTable/TableRow.svelte';
|
31
|
+
import TableCell from './components/EnkiTable/TableCell.svelte';
|
32
|
+
import EnkiCard from './components/EnkiCard/EnkiCard.svelte';
|
33
|
+
import CardTitle from './components/EnkiCard/CardTitle.svelte';
|
34
|
+
import CardSubtitle from './components/EnkiCard/CardSubTitle.svelte';
|
35
|
+
import CardText from './components/EnkiCard/CardText.svelte';
|
36
|
+
import CardBody from './components/EnkiCard/CardBody.svelte';
|
37
|
+
import CardFooter from './components/EnkiCard/CardFooter.svelte';
|
38
|
+
import CardLink from './components/EnkiCard/CardLink.svelte';
|
39
|
+
export { Button, TextField, Card, Tooltip, Tab, Icon, Modal, ModalBody, ModalFooter, ModalHeader, Header, Dropdown, DropdownItem, Badge, Alert, Pagination, RadioButton, Accordion, Switch, Checkbox, Breadcrumb, CardIcon, EnkiTable, TableBody, TableCell, TableRow, TableHead, TableHeadCell, EnkiCard, CardBody, CardTitle, CardSubtitle, CardText, CardLink, CardFooter };
|
27
40
|
export default Layout;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@enki-tek/fms-web-components",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.19",
|
4
4
|
"devDependencies": {
|
5
5
|
"@storybook/addon-essentials": "^7.6.14",
|
6
6
|
"@storybook/addon-interactions": "^7.6.14",
|
@@ -74,6 +74,21 @@
|
|
74
74
|
"./components/Dropdown/Dropdown.stories": "./components/Dropdown/Dropdown.stories.js",
|
75
75
|
"./components/Dropdown/Dropdown.svelte": "./components/Dropdown/Dropdown.svelte",
|
76
76
|
"./components/Dropdown/DropdownItem.svelte": "./components/Dropdown/DropdownItem.svelte",
|
77
|
+
"./components/EnkiCard/Card.scss": "./components/EnkiCard/Card.scss",
|
78
|
+
"./components/EnkiCard/CardBody.svelte": "./components/EnkiCard/CardBody.svelte",
|
79
|
+
"./components/EnkiCard/CardFooter.svelte": "./components/EnkiCard/CardFooter.svelte",
|
80
|
+
"./components/EnkiCard/CardLink.svelte": "./components/EnkiCard/CardLink.svelte",
|
81
|
+
"./components/EnkiCard/CardSubTitle.svelte": "./components/EnkiCard/CardSubTitle.svelte",
|
82
|
+
"./components/EnkiCard/CardText.svelte": "./components/EnkiCard/CardText.svelte",
|
83
|
+
"./components/EnkiCard/CardTitle.svelte": "./components/EnkiCard/CardTitle.svelte",
|
84
|
+
"./components/EnkiCard/EnkiCard.svelte": "./components/EnkiCard/EnkiCard.svelte",
|
85
|
+
"./components/EnkiTable/EnkiTable.svelte": "./components/EnkiTable/EnkiTable.svelte",
|
86
|
+
"./components/EnkiTable/Table.scss": "./components/EnkiTable/Table.scss",
|
87
|
+
"./components/EnkiTable/TableBody.svelte": "./components/EnkiTable/TableBody.svelte",
|
88
|
+
"./components/EnkiTable/TableCell.svelte": "./components/EnkiTable/TableCell.svelte",
|
89
|
+
"./components/EnkiTable/TableHead.svelte": "./components/EnkiTable/TableHead.svelte",
|
90
|
+
"./components/EnkiTable/TableHeadCell.svelte": "./components/EnkiTable/TableHeadCell.svelte",
|
91
|
+
"./components/EnkiTable/TableRow.svelte": "./components/EnkiTable/TableRow.svelte",
|
77
92
|
"./components/Header/Header.scss": "./components/Header/Header.scss",
|
78
93
|
"./components/Header/Header.stories": "./components/Header/Header.stories.js",
|
79
94
|
"./components/Header/Header.svelte": "./components/Header/Header.svelte",
|